[antlr-interest] v4 lexers

kferrio at gmail.com kferrio at gmail.com
Wed Feb 17 21:14:06 PST 2010


Regarding the wiki page by the same subject... I'm clearly no expert in the implementation guts but moving software stack seems like it could have a couple more benefits in addition to the ones you wrote about.  The improved "separation of concerns" would make it easier (at least for me!) to follow and debug the resulting target code.  Also it might accelerate the development (and maintenance) of non-Java-like targets.  

Also I hope Gavin Lambert's suggestion for "negative context" via exclusionary predicates makes it into v4. 

True, the hybrid approach is the key architectural gem which will make v4 even more powerful for "edgy" grammars.    But the separate stack will potentially benefit *every* grammar.   And exclusionary predicates will afford simple expression to certain simple grammars which I suspect may actually be more common than listserv traffic would suggest.  

Anyway thanks for the glimpse into the future.   I look forward to learning v4 all over from the beginning!

Kyle 

Sent from my Verizon Wireless BlackBerry


More information about the antlr-interest mailing list