views:

95

answers:

1

Hello, I'm working on a project that requires to create a series of editors for some quite different languages, these syntaxes are defined by ourselves. I'm looking for a solution about that. Is there a shortcut to take in this problem?

+2  A: 

You could use XText:

a framework for development of textual domain specific languages (DSLs).
Just describe your very own DSL using Xtext's simple EBNF grammar language and the generator will create a parser, an AST-meta model (implemented in EMF) as well as a full-featured Eclipse text editor from that.

alt text

VonC