from BNF to metamodel [message #45428] |
Tue, 26 May 2009 13:25  |
Eclipse User |
|
|
|
Hi,
would u help me find the steps to get the appropriate metamodel from a
given BNF grammar and its OCL constraints of the Eclipse's xtext;
otherwise, is there another tool to get the same result?
Then, once i find the first metamodel i want to apply the QVT to have the
next metamodel ,so how can i do so?
PS:The main problem is that i have already down loaded the Eclipse and the
xtext program but i couldn't use it
here is the BNF grammar which i want to use
BNF grammar:
http://cui.unige.ch/db-research/Enseignement/analyseinfo/Ada 95/BNFindex.html
Thank u for helping me out :)
|
|
|
|
|
Re: from BNF to metamodel [message #46027 is a reply to message #45643] |
Fri, 29 May 2009 01:48  |
Eclipse User |
|
|
|
Hi Farah,
sorry, I didn't get your point. What do you mean, when you want to
translate your BNF without facing any errors or warnings?
As I already mentioned, you'll have to do it the hard way and translate
your ADA BNF to Xtext yourself.
Actually warnings and errors are quite helpful when you are using the
grammar editor, as the indicate problems with your grammar.
- Sebastian
Am 27.05.2009 17:01 Uhr, schrieb farah:
> Hello;
> i wanna know is there a particular way in order to present the BNF
> grammar to translate without facing any errors or warnings when typing it
> Thank u
>
> Farah
>
|
|
|
Powered by
FUDForum. Page generated in 0.24567 seconds