Closed sailingKieler closed 10 months ago
Thanks! Refactoring langium-cli is great, I had that on my mind for quite some time.
Regarding the name: I agree generator
is misleading, but I would propose generate
, which is more consistent with test
(otherwise it should be testing
).
Then I'd also rename src/generator
to src/generate
.
Regarding the name: I agree generator is misleading, but I would propose generate, which is more consistent with test (otherwise it should be testing).
Right, switched to generate
.
Then I'd also rename src/generator to src/generate.
Done 👍
Nice work with replacing the CompositeGeneratorNodes
with expandToNode
.
There are lots of compile errors at the moment. I don't know why the GitHub Action wasn't triggered.
I missed to update an import of NEWLINE_REGEX
, and a recent change in the yeoman generator test caused a conflict -> no actions where executed.
I would like to merge this PR ASAP, I left a hint in tsconfig.export-main.json, see packages/langium/test/tsconfig.export-main.json
I named the new export
generating
, as its content is to be used for generating code.generators
may also work.generator
is IMO a bit misleading as there is no langium generator, andgeneration
means something different. 😉I took the opportunity to: