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
> "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
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
> "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
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
"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
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
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-