Step 308: All 8 generators produce language-appropriate output for 9 new AST node types (8/8 tests)

Phase 11c complete (80/80 tests). Added visitor implementations for
ClassDeclaration, InterfaceDeclaration, MethodDeclaration, GenericType,
TypeParameter, AsyncFunction, AwaitExpression, LambdaExpression, and
DecoratorAnnotation to Rust, Go, Java, JavaScript/TypeScript, and Elisp
generators. Each generator emits idiomatic syntax: Rust struct+impl/trait/async fn/.await/|closure|,
Go type struct/interface/func receiver/<-channel/func(), Java class extends/interface/CompletableFuture/(x)->/@annotation,
JS class extends/async function/await/(x)=>/class, Elisp cl-defstruct/cl-defgeneric/cl-defmethod/(lambda).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-02-15 15:08:55 +00:00
parent dc462e8941
commit a2a9fe6f97
8 changed files with 1120 additions and 0 deletions

View File

@@ -1847,4 +1847,9 @@ target_link_libraries(step307_test PRIVATE
tree_sitter_cpp
tree_sitter_elisp)
# Step 308: Generator Updates + Phase 11c Integration Tests
add_executable(step308_test tests/step308_test.cpp)
target_include_directories(step308_test PRIVATE src)
target_link_libraries(step308_test PRIVATE nlohmann_json::nlohmann_json)
# Step 12: Dear ImGui shell scaffolding created (main.cpp exists but not built due to dependencies)