Le mardi 30 décembre 2014 23:32:26 UTC+1, Ron Savage a écrit :
>
> 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.
>

This is a bit like the C grammar. By itself, it will never parse a 
preprocessed output of GNU CC nor MS cl. So extensions are added 
explicitely in the grammar.
Extending and/or subclassing the grammar is one nice way, 'error rules' is 
another very nice way -; 

-- 
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