top | item 46900432

Show HN: Logic Mill – Visualizing and sorting codebases

1 points| Slydite | 25 days ago |slydite.com

I built a tool called Logic Mill that parses codebases with Tree-sitter to visualize and topologically sort functions and classes.

The core idea was an experiment: What if code files were ordered like mathematical proofs, where definitions always precede their usage?

Interactive Visuals

Visuals for Three.js and Preact.js are available on the blog (Open on Desktop - The graphs are heavy):

Logic Mill (the tool itself): Symbols Graph: https://slydite.com/content/posts/toposort/codesorter/symbol... Layered Sort: https://slydite.com/content/posts/toposort/codesorter/layere... Global Sort: https://slydite.com/content/posts/toposort/codesorter/global...

GitHub: https://github.com/slydite/Logic-Mill

discuss

order

No comments yet.