Take a look at PLY.
There is an example lexer in the download for parsing fortran.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to