Parsing library for Python?

Mike C. Fletcher mcfletch at rogers.com
Fri Feb 20 15:30:24 EST 2004


Viktor Rosenfeld wrote:

>Hi, 
>
>I need to create a parser for a Python project, and I'd like to use process
>kinda like lex/yacc.  I've looked at various parsing packages online, but
>didn't find anything useful for me:
>
>- PyLR seems promising but is for Python 1.5
>- Yappy seems promising, but I couldn't get it to work.  It doesn't even
>compile the main example in it's documentation
>- mxTexttools is way complicated.  I'd like something that I can give a BNF
>grammar to handle.
>  
>
SimpleParse is based on mxTextTools, but is EBNF-driven.  You can find 
it here:

    http://simpleparse.sourceforge.net/

Have fun,
Mike

_______________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/






More information about the Python-list mailing list