OpenDream Language Server
People have been talking about making a LSP from the OD compiler for a while now, so here's an issue for tracking what needs to be done
- [ ] Split expression tree parser and code emission
- [ ] Move the preprocessor, lexer, parser and semantic analyser into a new "language platform" library
- [ ] Refactor DMCompiler to interface with the library
- [ ] Add the LSP
If theres something missing or if i got something wrong, post a comment and I'll update the issue
Example implementation in a random scripting language: https://github.com/Draco-lang/Compiler/tree/main/src/Draco.Lsp
Existing DM langserver: https://github.com/SpaceManiac/SpacemanDMM/tree/master/crates/dm-langserver
this'll be the perfect excuse to finally use the AST visitors we never really used
this'll be the perfect excuse to finally use the AST visitors we never really used
The AST visitors were removed a bit ago
The AST visitors were removed a bit ago
oof