Open SherlockNovitch opened 2 months ago
Hey sorry I didn't see this before.
You can parse a few files on their own but if the code has references that can't be resolved properly at compiletime, you'll only be able to get an AST1 output: it's detailed in this tutorial (up to the Getting AST1 Nodes
section).
I think you're talking about the boilerplate required by setting up a VFS though and I agree it's quite clunky. Do you have an idea for how you'd want this interface to look like?
Hi, after reading your documents and source code, I feel that the interface design is a bit unfriendly. Sometimes, users only need to parse a certain section of code or specify a single file for parsing, but SOLP requires the entire project to be input. Users may need an interface style similar to tree-sitter.