develooper Front page | perl.perl6.internals.api.parser | Postings from November 2000

Backtracking through the source

Thread Next
Dan Sugalski
November 27, 2000 13:41
Backtracking through the source
Message ID:
Okay, here's a question for those of you with more experience at parsers 
than I have. (Which would be about everyone)

Is there any reasonable case where we would need to backtrack over 
successfully parsed source and redo the parsing? I'm not talking about the 
case where regular expressions run over text and ultimately fail, but 
rather cases where we need to chuck out part of what we have and restart?


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai                         have teddy bears and even
                                      teddy bears get drunk

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About