Dependency graph construction #10

Open
opened 2026-04-07 20:22:08 +00:00 by austin · 0 comments
Owner

Build a dependency graph from the AST index.

  • Track import relationships between modules
  • Track call relationships between functions (which functions call which)
  • Track class inheritance
  • Given a symbol, answer: what does it depend on? what depends on it?
  • Keep the graph incremental — update only affected nodes when a file changes

The dependency graph serves two purposes:

  1. Context assembly: when editing a function, include its callers/callees in context
  2. Test detection: when a function changes, identify which tests exercise it
Build a dependency graph from the AST index. - Track import relationships between modules - Track call relationships between functions (which functions call which) - Track class inheritance - Given a symbol, answer: what does it depend on? what depends on it? - Keep the graph incremental — update only affected nodes when a file changes The dependency graph serves two purposes: 1. Context assembly: when editing a function, include its callers/callees in context 2. Test detection: when a function changes, identify which tests exercise it
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
austin/localcode#10
No description provided.