[antlr-interest] Order independent keywords

register reg.ini register72 at gmail.com
Sun Mar 22 03:01:15 PDT 2009


Hi everybody,
I am trying to parse a custom configuration file format using antlr.
This file format describes properties of several Paramaters using C like
structs, for example:

Record
{
       TYPE typeid;
       LENGHT 80;
       PATH= pathtofile
}

. The order of the attributes is irrelevant but some of them are required
other are simply optional. Is it possible to embody the requirement of order
independent attributes directly in the parser grammar, without using
actions?
Thanks in advance,
Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090322/a6f9f6da/attachment.html 


More information about the antlr-interest mailing list