3 ms·
Looks great - how does it work? Or, what is needed to add new language support like C#? Pricing seems very reasonable.
by indentit 6y ago
Looks great - how does it work? Or, what is needed to add new language support like C#? Pricing seems very reasonable.
- ru6xul6 6y agoGlad you like it! It uses a language-specific parser to generate function dependencies data, e.g. list of function calls, which are then consumed and visualized by shared UI components that renders the graph. To build language parsers, I started with Language Server Protocol (LSP) [1], but soon realized that some LSP libraries are outdated and I should go deeper to the core language parser, e.g. using Typescript tsserver for JS/TS code. To support a new language, I'll need to integrate a good language parser for that language, generate function dependencies, then the UI and graph rendering will take care of the rest. [1] https://microsoft.github.io/language-server-protocol/ https://microsoft.github.io/language-server-protocol/