Some clarification :

The question :
This question is a fundamental question, not a project manager question to 
check how many days it would took to do it.
I would like to know it you think like me that there is all the information in 
a SableCC grammar file to automate the production of an Eclipse textual editor, 
for example, with the help of XText (or other lib if there are).

Basically, I think more could be done from a grammar. We already produce 
lexer/parser automatically, thanks to tools like SableCC or antLR, but I think 
more could be done.
One example could be textual editor produced from grammar file but I'm sure 
there could be other things.

Side elements :
The idea would be to help to spread languages based technology like MDA, MDE, 
domain language and all that sort of things.
Finally, this would also make more developer to use SableCC if powerful tools 
are produced automatically with a SableCC "pure" grammar file.
I wrote "pure" grammar file is differentiate SableCC from antLR that use 
"polluted" grammar file as you have to put some java compiler/interpreter code 
in the grammar file.
Unfortunately, antLR look like more popular than SableCC and most often one can 
find a language grammar in antLR rather in SableCC.

I think SableCC community could be interested to keep SableCC popular.

On 27 juin 2011, at 19:17, Jean-Baptiste BRIAUD -- Novlog wrote:

> Hi,
> 
> Is there any attempt to produce a text editor from a grammar file ?
> I was thinking to text editor like those using xText under Eclipse.
> 
> Basically, I think there would be all needed information in the grammar file, 
> so because it should be doable, it may had been done :-)
> 
> Any clue ?
> 
> 
> _______________________________________________
> SableCC-Discussion mailing list
> [email protected]
> http://lists.sablecc.org/listinfo/sablecc-discussion


_______________________________________________
SableCC-Discussion mailing list
[email protected]
http://lists.sablecc.org/listinfo/sablecc-discussion

Reply via email to