flex/bison like module in Python?

Paul McGuire ptmcg at austin.rr._bogus_.com
Wed Dec 15 09:40:55 EST 2004


"Jerry Sievers" <jerry at jerrysievers.com> wrote in message
news:m3y8fz1vhn.fsf at prod01.jerrysievers.com...
> Dear Pythonists;
>
> Curious if there exists in Python package(s) for use as lexer/parser
> for implementation of language grammars?
>
> Already using cmd.py from the standard distro for it's basic features
> but wishing for much more advanced capability.  As such, I refer to
> flex/bison because though complex they are general purpose and very
> useful.
>
> I am trying to avoid having to do the lexer/parser part in C if
> possible.
>
> Thanks.
>
> -- 
> --------------------------------------------------------------------------
-----
> Jerry Sievers   305 854-3001 (home)     WWW ECommerce Consultant
>                 305 321-1144 (mobile http://www.JerrySievers.com/

Check out this page from the Python Wiki:
http://www.python.org/moin/LanguageParsing

(although I'm partial to pyparsing, myself...)

-- Paul





More information about the Python-list mailing list