Re: Applying regexen/grammars to objects (was Re: String API)

2003-08-25 Thread Benjamin Goldberg
Gordon Henriksen wrote: > > Benjamin Goldberg wrote: > > > Gordon Henriksen wrote: [snip] > > > [3] Unshift hack #1: Where commit appears in the above, exit the > > > grammar, trim the beginning of the string, and re-enter. (But that > > > forces the grammar author to discard the regex state, whe

RE: Applying regexen/grammars to objects (was Re: String API)

2003-08-25 Thread Gordon Henriksen
Benjamin Goldberg wrote: > Gordon Henriksen wrote: > > > Having a lazily slurped file string simply delays disaster, and > > opens the door for Very Big Mistakes. Such strings would have to be > > treated very delicately, or the program would behave very > > inefficiently or crash. > > Although