Step 307: Go + C++ + Elisp parser deepening — struct/interface, class, template, lambda (12/12 tests)

Go: struct → ClassDeclaration, interface → InterfaceDeclaration, method receiver → MethodDeclaration, func literal → LambdaExpression, expression_list unwrapping
C++: class/struct → ClassDeclaration, template → TypeParameter, methods → MethodDeclaration, lambda_expression → LambdaExpression
Elisp: (lambda ...) special_form → LambdaExpression

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-02-15 05:22:56 +00:00
parent 30e718a996
commit dc462e8941
5 changed files with 868 additions and 8 deletions

View File

@@ -1838,4 +1838,13 @@ target_link_libraries(step306_test PRIVATE
tree_sitter_typescript
tree_sitter_rust)
# Step 307: Go + C++ + Elisp Parser Deepening
add_executable(step307_test tests/step307_test.cpp)
target_include_directories(step307_test PRIVATE src)
target_link_libraries(step307_test PRIVATE
unofficial::tree-sitter::tree-sitter
tree_sitter_go
tree_sitter_cpp
tree_sitter_elisp)
# Step 12: Dear ImGui shell scaffolding created (main.cpp exists but not built due to dependencies)