Parsing library for Python?

M.-A. Lemburg mal at egenix.com
Mon Feb 23 23:53:37 CET 2004


Harry George wrote:
> Viktor Rosenfeld <rosenfel at informatik.hu-berlin.de> writes:
> 
> 
>>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.
>>
>>Is there a good parsing module for python that I missed?

You should have a look at SimpleParse which converts BNF to
the tag tables used by mxTextTools:

	http://simpleparse.sourceforge.net/

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 23 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::




More information about the Python-list mailing list