wanted: C++ parser written in Python

mep mep_ at 163.com
Fri Feb 25 02:15:00 EST 2005


"mep" <mep_ at 163.com> wrote in message news:3881hvF5jg6qrU1 at individual.net...
> Try ANTLR with python code generation:
> http://www.antlr.org/
>
> And C++ grammers:
> http://www.antlr.org/grammar/cpp
>
> You can generate a c++ parser in python with the above.
^^^^^^^^^^^^^^^^^
Sorry. Haven't look into the stuff carefully.
That grammer file requires some c++ code.

>
> -- 
> Best Regards,
> Wang Kebo
>
> http://www.huihoo.org/~mep
>
>
> "Franz Steinhaeusler" <franz.steinhaeusler at utanet.at> wrote in message
> news:mukr11t39khpd8od53im9jic3s6qjcl3j2 at 4ax.com...
> > Hello NG,
> >
> > has anyone written such a thing in python?
> > Where could I look for?
> >
> > (I need it for an editor written in wxPython to display function names,
> > include, global variables, classes, ... in a sidepanel).
> >
> > kind regards,
> > -- 
> > Franz Steinhaeusler
>
>





More information about the Python-list mailing list