Steps 290-294: Phase 11a — Semanno format, annotation codegen, visitor dispatch (60/60 tests)
Semanno comment format standard (@semanno:type(key=value)) with emitter/parser covering all 67+ annotation types. SemannoAnnotationImpl CRTP mixin provides default visitor implementations for all 56 extended annotation methods across 7 language generators. Virtual inheritance resolves diamond ambiguity between ProjectionGenerator and SemannoAnnotationImpl. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -77,7 +77,8 @@ private:
|
||||
// --- language-level defaults ---
|
||||
|
||||
if (lang == "python" || lang == "elisp" || lang == "ruby" ||
|
||||
lang == "javascript" || lang == "java" || lang == "csharp") {
|
||||
lang == "javascript" || lang == "java" || lang == "csharp" ||
|
||||
lang == "kotlin") {
|
||||
// GC languages → @Reclaim(Tracing) on the module
|
||||
out.push_back({mod->id, "ReclaimAnnotation", "Tracing",
|
||||
lang + " uses tracing garbage collection",
|
||||
|
||||
Reference in New Issue
Block a user