add-language
CommunityIntegrate new programming languages into Codanna.
Software Engineering#Rust#AST#compiler development#Tree-sitter#semantic analysis#language parsing#language support
Authorbartolli
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Extending Codanna to support new programming languages involves complex parsing, semantic analysis, and integration with the existing architecture. This skill provides a structured, step-by-step guide to implementing new language parsers, significantly reducing the effort and expertise required to expand Codanna's language capabilities.
Core Features & Use Cases
- Six-File Architecture: Follows a clear, modular structure (
mod.rs,definition.rs,parser.rs,behavior.rs,resolution.rs,audit.rs) for consistent implementation. - Trait-Based Integration: Guides through implementing core traits (
LanguageDefinition,LanguageParser,LanguageBehavior) for seamless integration. - Scope & Resolution Design: Helps design language-specific resolution contexts and scoping rules (e.g., LEGB for Python, hoisting for TypeScript).
- Use Case: You need to add support for a new language like Kotlin. Use this skill to understand the required file structure, implement the core traits, define Kotlin's specific scoping rules, and integrate it into Codanna's registry, ensuring accurate symbol extraction and relationship mapping.
Quick Start
I want to add support for the "Kotlin" programming language to Codanna.
Dependency Matrix
Required Modules
tree-sitter
Components
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-language Download link: https://github.com/bartolli/codanna-profiles/archive/main.zip#add-language Please download this .zip file, extract it, and install it in the .claude/skills/ directory.