Hi Guys,
I want to write a parser in python. But I am not able to understand that what could be the starting point(some urls and references) so that I can write simple parsers. I just want to have some basic ideas on py parsing methods and techniques. Well I googled for it also but didn't get any relevant info related to this. So can you please give me a reference so that I can follow it and write some basic codes...


A nice module is ply which has the functionality of the lex and yacc tools but with a pure python implementation. It might not be the fastest parser in python, but I think it's a very good starting point. It was written by David Beazley, who is also the author of the swig program. See here http://www.dabeaz.com/ply/