
Aug. 23, 2002
7:38 a.m.
Tim Peters <tim.one@comcast.net>:
They hit the language in a weak spot created by the immutability of strings.
But you lost me here -- I don't see a connection between immutability and either ease of writing lexers or speed of lexers.
It's an implementation problem. You find yourself doing a lot of string accessing and pasting, creating several new objects per input char. -- <a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>