[Xtext 2.3] Split *.xtext file up into multiple files? [message #1040428] |
Sat, 13 April 2013 11:16  |
Eclipse User |
|
|
|
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 11:20] by Moderator
|
|
|
|
|
|
Re: [Xtext 2.3] Split *.xtext file up into multiple files? [message #1041503 is a reply to message #1040428] |
Mon, 15 April 2013 03:21  |
Eclipse User |
|
|
|
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.26325 seconds