Using Xtext as a textual concrete syntax tool [message #1743493] |
Thu, 15 September 2016 23:13 |
Eclipse User |
|
|
|
Hello,
I used Xtext a long time ago for generating a textual language as a first step. This time, I want to follow a different working approach.
As the first step, I want to define a metamodel as an ECore model. Then, using Xtext, I want to define a textual syntax for this metamodel. Please note that, the .ecore model (metamodel) exists before the grammar in this case. The .ecore model is NOT generated from the textual syntax/grammar.
At the end, since I have a defined textual syntax/grammar for my metadodel, I wish to have an automatically generated parser, that can be called through a Java application.
In other words, I will give a textual file input that is basically an instance of this textual language to my Java program that can use the automatically generated parser. Then, I will get an instance of my ECore model (metamodel) at the end.
Could you guide me for this?
Thank you.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06645 seconds