Show HN: Logic Mill – Visualizing and sorting codebases(slydite.com)1 points·by Slydite·5 ay önce·0 commentsslydite.comShow HN: Logic Mill – Visualizing and sorting codebaseshttps://slydite.com/blog/toposort/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 VisualsVisuals 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-Mill0 commentsPost comment—
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