Replies: 2 comments 2 replies
-
@Lotes We had this discussion some time ago (see Slack), and decided to either not include it into Langium at all (and let users implement a domain generator instead), or postpone it until there's an incredibly alluring use case. There are just too many pitfalls in there. |
Beta Was this translation helpful? Give feedback.
-
IIUC (and I might not), what's discussed here is the idea of an "Unparser". One additional use case where this would come in handy is when you want to support non-textual editors for a language as well. We've prototyped that some time ago where users could edit a program both as text (a Xtext DSL) and via a proprietary visual scripting editor. |
Beta Was this translation helpful? Give feedback.
-
I had some thoughts about migrating source codes between versions Vn and Vn+1. Or also transpiling language A to B.
For both ideas it would be helpful to have a conversion of the AST back to source code.
Especially migrations would be cool 😎. If I imagine that we would have an incremental or agile approach, it could be helpful for developers to have the possibility to perform upgrades or even downgrades.
WDYT? Are there maybe additional usecases?
Beta Was this translation helpful? Give feedback.
All reactions