Langium example #149
hallvard
started this conversation in
Show and tell
Replies: 1 comment 3 replies
-
Thanks for sharing, @hallvard! I'd like to give a general hint on how we envision generators in Langium. Xtext included generators in the incremental build because that's how it was generally done in the Eclipse IDE. The tool landscape used in VS Code is different: tools offer a CLI with a We are going to provide examples for this (#131). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since I'm asking questions, I thought I'd say some words about the context. I'm porting an Xtext-based DSL for defining quizzes to Langium, to test it out. The DSL has a generator (not yet ported) for creating a web page that presents the questions and allow you to answer and check the result.
So far the DSL extension includes the LSP part, a command for running the generator and opening a preview pane on the generated HTML.
Here's the link: https://github.com/hallvard/langium-quiz
Beta Was this translation helpful? Give feedback.
All reactions