Architecture of egraphs-good/egglog
egraphs-good/egglog is 184 source files holding 6,360 symbols across 14 modules, written mainly in Rust, Python, Makefile. The largest module is src, with 48 files, and 13 files are entry points into the dependency graph.
How egglog fits together
You clone the repository and run cargo install --path=egglog to get the egglog command, or run cargo run --release to start the REPL. Passing a .egg file processes it, and the --to-dot and --to-svg options write a graph of the result beside that file. The repository includes the skill folder .claude/skills/tidy-diff-docs, and its SKILL.md holds the instructions for a coding agent that loads it.
Largest modules
- src: 48 files and 22,968 lines of code
- core-relations: 38 files and 15,436 lines of code
- tests: 20 files and 4,642 lines of code
- concurrency: 13 files and 2,596 lines of code
- union-find: 8 files and 1,058 lines of code
- egglog-bridge: 7 files and 4,115 lines of code
- egglog-ast: 5 files and 938 lines of code
- benches: 4 files and 413 lines of code
Languages
By file count: Rust 147 files, Python 7 files, Makefile 2 files, JavaScript 1 file.
Documentation
Repowise documents egglog in 295 pages generated from the source.
More on egglog: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos