Skip to main content

Module add_lang

Module add_lang 

Source
Expand description

Rust-owned helper commands for the add-language workflow.

These replace the old Node/web-tree-sitter development scripts with checks that use the same native tree-sitter facade as indexing.

本模块服务 /add-lang 技能的本地验证链路:先确认 native grammar 能稳定解析,再把 AST 形状暴露给提取器作者,最后读取已索引的 SQLite 库做轻量健康检查。这里刻意不走 MCP 或完整 agent-eval,目的是让新增语言 在接入 Rust 侧 tree-sitter 管线时能快速定位“语法注册、节点映射、索引输出” 中哪一层出了问题。

Structs§

AddLangError
AddLangOutput
DumpAstOptions

Functions§

check_grammar_report
dump_ast_report
help_text
run_cli
verify_extraction_report