What problem does it solve?
This Skill provides a structured, step-by-step guide for adding new programming language support to the Codanna system. It solves the complexity of integrating new language parsers by detailing the six-layer architecture, trait implementations, and resolution scope design, ensuring consistent and robust language extensions.
Core Features & Use Cases:
- Six-Layer Architecture: Implement new languages following a clear
mod.rs, definition.rs, parser.rs, behavior.rs, resolution.rs, audit.rs structure.
- Trait-Based Implementation: Guide through implementing
LanguageDefinition, LanguageParser, and LanguageBehavior traits for core functionality.
- Custom Resolution Scopes: Design language-specific symbol resolution contexts (e.g., LEGB for Python, hoisting for TypeScript) for accurate code understanding.
- Use Case: A user wants Codanna to understand a new domain-specific language (DSL) or a recently released programming language. This skill provides the exact workflow and code patterns to integrate the language, from setting up Tree-sitter grammar to implementing custom resolution logic.
Quick Start:
To begin adding support for a new language like Java, ask:
"Guide me through adding Java language support to Codanna."
Or, to understand the architecture:
"Explain the six-layer architecture for language implementation."