Skip to main content

Crate mimir_syntax

Crate mimir_syntax 

Source
Expand description

Tree-sitter language adapters and symbol/call/import extraction.

Deliberately dependency-free from mimir-core: mimir-graph (which depends on mimir-core to persist symbols/edges) and mimir-core (which depends on this crate to chunk source for recall โ€” see mimir_core::index::chunker) both consume it, and mimir-core -> mimir-graph would be a cycle.

Modulesยง

extract
Tree-sitter symbol/call/import extraction. No LLM, no type checker โ€” honest static extraction with explicit confidence tiers downstream.
languages
Per-language tree-sitter adapters: which AST nodes are definitions, scopes, calls, and imports โ€” and how to read docs/signatures off them.