[antlr-interest] Need help with simple grammar

Florian Weimer fw at deneb.enyo.de
Sat Apr 21 03:04:34 PDT 2007


* Johannes Luber:

> Florian Weimer wrote:
>  > By the way, is there an easy way to accept any non-empty,
>> non-whitespace string for FILE, including "get", "put", etc.?
>> 
>
> Your wish is my command :D
>
> <http://www.antlr.org/wiki/display/ANTLR3/Quick+Starter+on+Parser+Grammars+-+No+Past+Experience+Required>

Thanks, but I don't think it's that easy.  For instance, the grammar
does not parse "get data from data".


More information about the antlr-interest mailing list