Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » XML based DSL using xTEXT (Develop XML based DSL using xTEXT with Eclipse)
XML based DSL using xTEXT [message #1461023] Tue, 04 November 2014 05:54 Go to next message
Rajeshkumar Balasubramanian is currently offline Rajeshkumar BalasubramanianFriend
Messages: 2
Registered: November 2014
Junior Member
We have an in-house DSL that is difficult to read and is programmed using Notepad. I want to create a new DSL that is easier to read, with a custom editor - to replace the current DSL. I would like to use XML as the basis for the new DSL.

The current DSL gets interpreted by a Runtime Interpreter and we have many projects that will need to be tested and migrated to the new XML-based DSL.

I'd like to do this in phases.
1. Create the new XML based DSL to replace the current DSL want to use Eclipse as the editor for this new DSL
2. Ability to translate the new XML-based DSL back to the current DSL This would be required to validate functional parity with the current DSL. [ DSL Translator ]
3. Modify the Runtime Interpreter to work directly with the new XML-based DSL
4. Ability to import and translate the current DSL files to the new XML-based DSL format This would be required to migrate old projects to the new XML-based DSL [ DSL Translator ]

Questions:
1. Is XText the right choice for implementing this project to create a custom editor on top of Eclipse for a new XML-based DSL?
2. Is there a framework that would work well with XText to code the DSL translator to convert between the old and the new DSL formats?
Re: XML based DSL using xTEXT [message #1475628 is a reply to message #1461023] Sun, 16 November 2014 11:58 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31536
Registered: July 2009
Senior Member
Ask about Xtext on the eclipse.modeling.tmf forum.

On 04/11/2014 9:09 AM, Rajeshkumar Balasubramanian wrote:
> We have an in-house DSL that is difficult to read and is programmed
> using Notepad. I want to create a new DSL that is easier to read,
> with a custom editor - to replace the current DSL. I would like to
> use XML as the basis for the new DSL.
>
> The current DSL gets interpreted by a Runtime Interpreter and we have
> many projects that will need to be tested and migrated to the new
> XML-based DSL.
>
> I'd like to do this in phases.
> 1. Create the new XML based DSL to replace the current DSL want
> to use Eclipse as the editor for this new DSL
> 2. Ability to translate the new XML-based DSL back to the
> current DSL This would be required to validate functional parity with
> the current DSL. [ DSL Translator ]
> 3. Modify the Runtime Interpreter to work directly with the new
> XML-based DSL
> 4. Ability to import and translate the current DSL files to the
> new XML-based DSL format This would be required to migrate old
> projects to the new XML-based DSL [ DSL Translator ]
>
> Questions:
> 1. Is XText the right choice for implementing this project to
> create a custom editor on top of Eclipse for a new XML-based DSL?
> 2. Is there a framework that would work well with XText to code
> the DSL translator to convert between the old and the new DSL formats?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:E-Git Installation
Next Topic:Help with EJB
Goto Forum:
  


Current Time: Tue Oct 20 09:49:09 GMT 2020

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

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

Back to the top