Well, syntax highlighting would be a good start, but I would add code 
completion (control-space under most modern IDE).
I was also thinking about Eclipse or other modern IDE like IntelliJ, Netbeans 
not ed, edline, emacs, vi or vim even if emacs for example could be seen as a 
proof of concept if doing it under emacs is proven to be simpler than directly 
using XText under Eclipse.

On 28 juin 2011, at 21:11, Eli Gottlieb wrote:

> Do you just mean like syntax highlighting?  I suppose someone with the time 
> could write a utility to convert EBNF grammars to gedit or emacs or vim 
> syntax highlighting definitions, but it's not already automated.
> On Jun 28, 2011, at 3:53 AM, Jean-Baptiste BRIAUD -- Novlog wrote:
> 
>> I was thinking about automatic production, like sablecc produce 
>> automatically code from grammar.
>> 
>> In fact, you may help me understand something : why, apparently, it has not 
>> been done yet ?
>> I guess there would be enought information in the grammar file to identify 
>> keyword to highlight, keyword contextual prediction ...
>> 
>> What do you think ?
>> 
>> On 28 juin 2011, at 01:50, Emanuele Ianni wrote:
>> 
>>> I'm sorry. Did you mean automatically?
>>> 
>>> Il giorno 28/giu/2011 01.50, "Emanuele Ianni" <[email protected]> ha scritto:
>>> > I'm doing one for my thesis. What do you ned specifically?
>>> > Il giorno 28/giu/2011 01.27, "Jean-Baptiste BRIAUD -- Novlog" <
>>> > [email protected]> ha scritto:
>>> >> 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
>> 
>> _______________________________________________
>> 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

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

Reply via email to