Scanner class

Arnaud Delobelle arnodel at googlemail.com
Tue Dec 2 14:17:34 EST 2008


George Sakkis <george.sakkis at gmail.com> writes:

> On Dec 1, 5:42 pm, Arnaud Delobelle <arno... at googlemail.com> wrote:
>> George Sakkis <george.sak... at gmail.com> 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



More information about the Python-list mailing list