Show HN: Logic Mill – Visualizing and sorting codebases

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

1 points Slydite 9 months ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton