Skip to content

Printing and AST into text #683

Answered by spoenemann
coolya asked this question in Q&A
Sep 19, 2022 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hi, a serializer does not exist yet for Langium, but there are thoughts about creating such a project. We could do this in a separate package langium-stringify (separate because Langium's base functionality does not depend on this rather complex feature).

Current solution until the new package is available: hand-write an AST-to-text generator in the same way as you would write other code generators.

CC @sailingKieler @msujew @danieldietrich @pluralia @insafuhrmann

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@coolya
Comment options

@spoenemann
Comment options

@Lotes
Comment options

Lotes Sep 23, 2022
Collaborator

@msujew
Comment options

Answer selected by coolya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants