Am Monday 08 June 2009 11:19:49 schrieb Steven Obua:
> Hi,
>
>
> So, as I understand, with backtrack=true and memoize=true I basically
> switch to linear time / linear space packrat parsing.

I'm not sure if it's a the same as a packrat parser (like rats! for example).
There are some differences, the biggest is in a packrat parser you have 
ordered choises:  
if in a rule  e1 | e2   the first (e1) succeeds. the second is ignored. So 
unlike normal BNF definitions you cannot simply switch the order of the 
alternatives.

And you don't use a separate lexer, it's all in one grammar

 Michael

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to