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

Add ANTLR4 language server and editor #23

Open
Lotes opened this issue Oct 5, 2022 · 2 comments
Open

Add ANTLR4 language server and editor #23

Lotes opened this issue Oct 5, 2022 · 2 comments

Comments

@Lotes
Copy link

Lotes commented Oct 5, 2022

This is cool. I saw this project is built with an ACE editor and a parser in the backend.

I wanted to ask whether you are interested in having editor support (like inline validation, completion etc.) through a language server running in the browser?

There is this open source project called Langium, which can provide a language server derived from a grammar. It is like Xtext for Typescript. It works well with the Monaco editor, which can be used as an LSP client.

I was recently migrating big parts of the Antlr4 grammar to Langium. It still needs some work on it, but when it is ready I could help with creating and integrating the language server and the editor on your site.

WDYT? :)

@parrt
Copy link
Member

parrt commented Oct 5, 2022

hi! At this time I think I will hold off on auto completion and everything inside the grammar editor. Ace has a built-in mechanism for that which I will have to explore. Definitely could not understand the Monaco editor so I went with ace haha.

@Lotes
Copy link
Author

Lotes commented Oct 6, 2022

No problemo, I will come back here when I have more to show ;-).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants