How to create an Eclipse editor plugin with syntax checking and coloring as fast as possible?

eclipse-plugin

Solution

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.

Problem

I'm working on a project that requires me to create a series of editors for languages that are quite different. The syntaxes are defined by us. I'm looking for a solution for this. Is there a shortcut to take in this problem?

Original source