Hi,
I am reading the ANTLR definitive reference book by Terence Parr, and read
about backtracking and LL(*). The book says that backtracking is only used
when LL(*) fails. On the other hand, it says that backtracking doesn't
invoke any actions when guessing, then rewinds input and reparses again
(possibly with memoization for performance). How does this function with
trying LL(*) first? Aren't actions invoked during this phase, and then, when
it fails, and backtracking finally finds a viable alternative, aren't they
invoked again? Or am I misunderstanding what the book says?

Regards,
wujek

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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to