Re: wanted: C++ parser written in Python

2005-02-25 Thread dan . gass
You can look at the techniques and regular expressions in the testgen.c.unit test module that is part of a generic test framework called TestGen. TestGen uses a parser to automatically stub / copy functions for testing purposes. The parser is capable of identifying the function/method name as wel

Re: wanted: C++ parser written in Python

2005-02-25 Thread Chris Smith
> "Franz" == Franz Steinhaeusler <[EMAIL PROTECTED]> writes: Franz> On 25 Feb 2005 12:38:53 +0200, Ville Vainio <[EMAIL PROTECTED]> wrote: Franz> Hello Ville, >>> "Franz" == Franz Steinhaeusler >>> <[EMAIL PROTECTED]> writes: >> Franz> Thank you, but it is to

Re: wanted: C++ parser written in Python

2005-02-25 Thread Franz Steinhaeusler
On 25 Feb 2005 12:38:53 +0200, Ville Vainio <[EMAIL PROTECTED]> wrote: Hello Ville, >> "Franz" == Franz Steinhaeusler <[EMAIL PROTECTED]> writes: > >Franz> Thank you, but it is too big. > >Franz> Anyway: > >Franz> I'm looking for some (simple) "rules" to parse (regex) and >Fra

Re: wanted: C++ parser written in Python

2005-02-25 Thread Ville Vainio
> "Franz" == Franz Steinhaeusler <[EMAIL PROTECTED]> writes: Franz> Thank you, but it is too big. Franz> Anyway: Franz> I'm looking for some (simple) "rules" to parse (regex) and Franz> try to implement myself, if nothing is available. Check out http://pyparsing.sourceforge

Re: wanted: C++ parser written in Python

2005-02-25 Thread Franz Steinhaeusler
On Fri, 25 Feb 2005 15:10:06 +0800, "mep" <[EMAIL PROTECTED]> wrote: >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. Thank you, but it is too big. Anyway: I'm looking

Re: wanted: C++ parser written in Python

2005-02-24 Thread mep
"mep" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 stu

Re: wanted: C++ parser written in Python

2005-02-24 Thread mep
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. -- Best Regards, Wang Kebo http://www.huihoo.org/~mep "Franz Steinhaeusler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

wanted: C++ parser written in Python

2005-02-24 Thread Franz Steinhaeusler
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 -- http://mail.python.org/mailman/listinfo/python-