Regex: Parsing Lisp with Python

Yigal Duppen yduppen at xs4all.nl
Thu Aug 8 09:55:18 EDT 2002


> I need to parse lisp with python. Has anyone
> experience with this?

Yes I do :)
Actually, I have a program that parses Scheme, but as far as the syntax is 
concerned, that's probably OK.

I used Plex for it -- much better than regular expressions for non-trivial 
tokens.

If you're interested, you can view the source at 
http://www.xs4all.nl/~yduppen/site/psyche.html

YDD
-- 
http://www.xs4all.nl/~yduppen



More information about the Python-list mailing list