Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenDream Language Server #1817

Open
4 tasks
distributivgesetz opened this issue May 28, 2024 · 5 comments
Open
4 tasks

OpenDream Language Server #1817

distributivgesetz opened this issue May 28, 2024 · 5 comments
Labels
Compiler Involves the OpenDream compiler

Comments

@distributivgesetz
Copy link
Contributor

distributivgesetz commented May 28, 2024

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

@ike709
Copy link
Collaborator

ike709 commented May 28, 2024

Example implementation in a random scripting language: https://github.com/Draco-lang/Compiler/tree/main/src/Draco.Lsp

@ike709
Copy link
Collaborator

ike709 commented May 28, 2024

@distributivgesetz
Copy link
Contributor Author

this'll be the perfect excuse to finally use the AST visitors we never really used

@wixoaGit wixoaGit added the Compiler Involves the OpenDream compiler label Jun 2, 2024
@wixoaGit
Copy link
Member

wixoaGit commented Jun 2, 2024

this'll be the perfect excuse to finally use the AST visitors we never really used

The AST visitors were removed a bit ago

@distributivgesetz
Copy link
Contributor Author

The AST visitors were removed a bit ago

oof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compiler Involves the OpenDream compiler
Projects
None yet
Development

No branches or pull requests

3 participants