[Tutor] Lexer implementation

Jason Doege jdoege at da-test.com
Wed May 9 23:47:18 CEST 2007


Hi All,

 

Is there a classical way to implement a lexer in Python without using a
parser toolkit? Something like the lexer MJD illustrates in Higher Order
Perl, section 8.1.2. It's even better if it can act on a stream instead
of a string.

 

Best regards,

Jason Doege

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070509/3883c6ee/attachment.htm 


More information about the Tutor mailing list