[Xtext 2.3] Split *.xtext file up into multiple files? [message #1040428] |
Sat, 13 April 2013 15:16 |
Alan DW Messages: 119 Registered: March 2012 |
Senior Member |
|
|
Hello everyone,
I'm working on a rather complex grammar in Xtext 2.3. The system itself and also the resulting editor are working very nicely, no complaints, but since I'm already having over 100 individual rules in my *.xtext file, I'd like to know if there is a way to organize my rules not only in a single file, but in multiple files instead, that form a single grammar together. Now, I am aware that there is stuff like grammar mixins, the "import" and "with" statements and so on, but that all seems way to sophisticated for my purposes.
Is there a way to do this?
Thanks,
Alan
PS: Yes, I did use the forum search before posting this. But the most recent topic I've found dates back about 1 year ago, and also does not really provide a solution.
[Updated on: Sat, 13 April 2013 15:20] Report message to a moderator
|
|
|
|
|
|
Re: [Xtext 2.3] Split *.xtext file up into multiple files? [message #1041503 is a reply to message #1040428] |
Mon, 15 April 2013 07:21 |
Claudio Heeg Messages: 75 Registered: April 2013 |
Member |
|
|
Alan DW wrote on Sat, 13 April 2013 17:16Now, I am aware that there is stuff like grammar mixins, the "import" and "with" statements and so on, but that all seems way to sophisticated for my purposes.
Especially "with"-Statements are not that sophisticated a thing I'd say, so probably, if you look to split up your grammar, you should actually go that way.
Doing that requires you to know what you are doing, though, as you'll have to be sure of what you have to leave where.
|
|
|
Powered by
FUDForum. Page generated in 0.04234 seconds