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

Backtracking through the source

Thread Next
From:
Dan Sugalski
Date:
November 27, 2000 13:41
Subject:
Backtracking through the source
Message ID:
5.0.1.4.0.20001127163751.024354e0@24.8.96.48
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?

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About