Graphify for Pascal
Parsed by tree-sitter-pascal, so the same code gives the same edges twice.
Graphify maps your Pascal codebase into a knowledge graph: a structure of entities and typed relationships that your AI coding assistant and your team share. Nothing about Pascalis special-cased away: it's parsed the same deterministic way every other language is, into nodes and edges you can trace. New to the idea? Start with how Graphify works.
How Graphify parses Pascal
Pascal files (.pas, .pp, .dpr, .lpr) are parsed locally with tree-sitter using the tree-sitter-pascal grammar when the pascal extra is installed (pip install "graphifyy[pascal]"); without it, a built-in extractor still maps Pascal on your machine at lower fidelity. This is real AST extraction, not a model reading your source: Graphify walks the abstract syntax tree of each file and pulls out units, procedures, functions, uses, and call edges. Because it's parsing, the result is deterministic: the same code produces the same graph, with no API call and nothing to hallucinate.
What ends up in the graph
The Pascal entities the parser finds become nodes, and the relationships between them become edges: a function that calls another, a module that imports another, a type that's defined here and referenced there. An edge written in the source is tagged EXTRACTED, Graphify's provenance label for a relationship that came straight out of the AST. When Graphify has to resolve the target itself, for example a call that no import proves, the edge is tagged INFERRED and carries a confidence score. AMBIGUOUS is left to the model pass, for links it flags as uncertain. For Pascal parsed this way, each edge says which of these it is. The full provenance model is in concepts.
How your assistant queries it
Once the graph is built, your assistant reaches for it instead of dumping whole Pascal files into the context window. Ask "what breaks if I change this function?" and it traverses the call edges to find every caller, and the callers of those callers: a multi-hop answer that string search can't give you. Three commands drive it:
graphify query: everything connected to a Pascal symbol.graphify path: the exact route between two entities.graphify explain: why a given edge exists.
Your assistant can call these directly as a skill, or over Graphify's Model Context Protocol server. It works the same across the assistants Graphify supports; see the integrations page for the list.
Confidence you can trace
The point of the EXTRACTED tag is trust. When your assistant answers a question about your Pascalcode by traversing the graph, you can see which hops are parsed facts and which are inferences. A similarity score from an embedding index can't tell you that; a graph can, because every answer is a path and every edge on it carries a label.
On-device by design
Prefer to keep everything local? Run the open-source engine and parsing Pascal happens on your machine with the built-in extractor, or the tree-sitter grammar from the pascal extra. The graph lives in files on your disk. There's no account, no hosted index, and no telemetry. Graphify is open source under the Apache 2.0 license; install it with uv tool install graphifyyand point it at your repository. The honest caveat is unchanged: Graphify adds no new place your code travels, but it doesn't change where your assistant sends its own prompts. Read the docs to build your first graph.
Graphify parses many languages the same way; see the full list of languages, or the neighbors Graphify for Solidity and Graphify for CUDA.