generate with multiple independent grammars [message #1814171] |
Thu, 05 September 2019 04:44  |
Eclipse User |
|
|
|
Hello,
I try to use two independent grammars in Xtext. I updated the mwe2-file and copied the grammar, validation and generator into existing folders. I Changed names so there are no conflicts and it builds without errors.
When i want to edit in Eclipse, I just have autocompletion for the first grammar (hello world) and it doesn't generate. Second grammar doesn't work at all.
I'm not sure how to setup multiple independent grammars and how to spread the files. Both generators/validators in one folder or make extra folders for the new language?.
Is there somewhere a project to checkout?
I found https://www.eclipse.org/forums/index.php/t/1079008/ but doesn't solve my problem.
Probably it doesn't find my generator file.
Thanks
Markus
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05009 seconds