George Sakkis <[EMAIL PROTECTED]> writes: > On Dec 1, 5:42 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: >> George Sakkis <[EMAIL PROTECTED]> writes: >> >> http://code.activestate.com/recipes/457664/ > > Thanks, didn't know about it. I also found Plex [1] which seems more > powerful. > > George > > [1] > http://www.cosc.canterbury.ac.nz/greg.ewing/python/Plex/version/doc/index.html
I've also written a python module that aims to be similar to GNU flex. You can see it here: http://www.marooned.org.uk/~arno/python/lexing.html It's not extremely sophisticated but it's quite easy to use. I've written a Python 3 tokeniser in it :) -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list