Replies: 2 comments
-
Hey @trusktr, there are a lot of tracing utilities available on our generator interfaces. We don't offer direct integration with something like the source-map package, but you should be able to create a small glue layer between the package and our |
Beta Was this translation helpful? Give feedback.
-
Hey @trusktr, yesterday I published the 2nd part of my blog series on generation, see https://www.typefox.io/blog/code-generation-for-langium-based-dsls-2. Generator tracing will be handled in the 3rd part, which I'm almost done with, and which is coming soon. I prepared a little demo project at https://github.com/langium/langium-in-browser-codegen-example/. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, suppose we take langium-lox: and instead of making an interpreter we generate JavaScript code along with a source map. How would we do that with generator tracing?
Beta Was this translation helpful? Give feedback.
All reactions