There are 2 ways to handle this:

o Pre-process the input, so 'select top 5' becomes 'select'.

o Change the grammar.

If choosing the 2nd, I'd subclass MarpaX::Languages::SQL2003::AST and 
commit myself to adding as much MS-specific code to the grammar as needed 
to make the project work. The advantage is that you can get help here on 
the syntax for such grammar extensions. And it's immeasurably better if 1 
module does this than if everyone tries to do it in parallel, since we all 
then have access to a new custom module.


-- 
You received this message because you are subscribed to the Google Groups 
"marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to