Dynamic Elements of Language [message #1805166] |
Tue, 09 April 2019 06:28 |
Santhiveeran S Messages: 7 Registered: November 2018 |
Junior Member |
|
|
Hi All,
Thanks for your guidance and support.
I want to know one of the feature availability in Xtext. Normally we have some language fundamentals which we used to write the program in the language.
For example,
Write "Hello world"
As per the language, this will get write in the output console as "Hello world".
In my case user also can create their own syntax of commands,
For example WriteString "I am new one"
For this, user will create a text file and write the name,format and description
like newcmd name="writestring" format="%s" desc="Print only String"
This can be changed, created at run time, based on the text file changes, it needs to refreshed automatically.
I need the help on the below,
1. Is it possible to import new grammar into already running eclipse?
2. Is it EMF model or some other concept help me to achieve this?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03796 seconds