Skip to content
Discussion options

You must be logged in to vote

Good question. Zero-deps was the main driver, but not the only one.

SigMap is intentionally not a full parser. It is a fast repo-orientation layer: signatures, imports, classes, exports, and structure — enough to help an agent decide which files/functions to inspect first.

Tree-sitter is great, but it adds install/platform complexity, grammar maintenance, package weight, and more failure modes. For the core CLI I wanted something deterministic, portable, fast, and “never throw” by design.

The regex extractors are conservative and signature-focused. They won’t capture every language edge case, but they degrade gracefully and keep the workflow moving.

I did consider tree-sitter, and I can s…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by skovtunenko
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants