flex/bison like module in Python?

Jean Brouwers mrjean1ATcomcastDOTnet at no.spam.net
Wed Dec 15 17:19:06 CET 2004

For command line parsing, take a look at the shlex module, also in the
standard distro.  It may fit your requirements for additional
functionality beyond cmd.

/Jean Brouwers

PS) We use SimpleParse/mxTextTools for parsing large log files, both
are listed on the web page mentioned below.  In addition, check out
David Mertz' web pages 'Text Processing in Python' at


In article <mailman.7785.1103121955.5135.python-list at python.org>,
Fredrik Lundh <fredrik at pythonware.com> wrote:

> Jerry Sievers wrote:
> > Curious if there exists in Python package(s) for use as lexer/parser
> > for implementation of language grammars?
> (s) indeed:
> http://www.nedbatchelder.com/text/python-parsers.html
> </F>

More information about the Python-list mailing list