|Re: Compilation error inside the grammar access class when upgrading to Xtext 2.14 [message #1790745 is a reply to message #1790696]
||Fri, 15 June 2018 12:48
|| Stephane Galland
Registered: July 2014
Location: Belfort, France
I have create the issue https://github.com/eclipse/xtext-xtend/issues/474.
Within SARL, a part of the grammar is dedicated to object-oriented programming, the other part is dedicated to agent-oriented programming. This latest part is the one on which we want to work hard.
We have decided to not code from scratch a OOP infrastructure since Xtend already provides one that could be extended.
SARL language's grammar inherits from the Xtend grammar and changes several specific rules for fixing the syntax philosophy that is different between Xtend and SARL (so that Xtend is hidden to SARL users).
In this we, we have benefit of all the code that is written for Xtend (jvm model inferrer, validator, ...) at a lower cost than an implementation from scratch.
Since the works done on Xtend are of a very good quality, we think that it is not a huge problem to inherits from it (and we have given a proof of concept with the previous version of Xtend) and update our code when some part of Xtend has changed.
All the best.
Prof. Stéphane Galland.
Belfort-Montbéliard University of Technologie, France.
[Updated on: Fri, 15 June 2018 12:58]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02443 seconds