- or download this
# ( a OR b ) AND ( c ) NOT ( d ) AND ( e OR f )
[
...
[ NOT => 'd' ],
[ AND => 'e', 'f' ],
]
- or download this
# make_parser.pl
...
Parse::RecDescent->Precompile($grammar, "QueryParser")
or die("Bad grammar\n");
- or download this
# query_parser.pl
...
display($expr, $tree);
}
}