Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Is it possible to write Grammar in more than one Xtext file?
Is it possible to write Grammar in more than one Xtext file? [message #1796210] Mon, 08 October 2018 11:25 Go to next message
Venkata Chittem is currently offline Venkata ChittemFriend
Messages: 13
Registered: October 2018
Junior Member
This is more to do with the number of Rules and the size of .Xtext grammar file.

Is it possible that i can define the rules in multiple .Xtext files, rather than a big one.
Re: Is it possible to write Grammar in more than one Xtext file? [message #1796211 is a reply to message #1796210] Mon, 08 October 2018 11:28 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14076
Registered: July 2009
Senior Member
yes and know. you can only have one hierarchy and super grammar stuff will be inlined. => it wont help.
they only thing is that if your domain has different parts. then you can split them up.
=> would need more details to say if it is possible or worth in your case


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:XText Server Crashes with VS Code Extension, How to Debug?
Next Topic:Transient attributes in Xtext grammar
Goto Forum:
  


Current Time: Fri Oct 22 23:38:42 GMT 2021

Powered by FUDForum. Page generated in 0.01550 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top