Skip to content

Dependency Analysis โ€‹

Problem โ€‹

Build tools and reviewers need the real dependency graph, not grep approximations.

Why tree-sitter.zig helps โ€‹

Import statements are structural nodes; queries extract exactly their operands.

API โ€‹

Query captures over import-like productions; Node.text for operands.

Architecture โ€‹

text
Parse โ†’ query imports โ†’ resolve operands โ†’ graph edges

Next steps โ€‹

Released under the MIT License.