Re: Simple parser for C/C++
- From: Helmut Giese <hgiese@xxxxxxxxxxxxx>
- Date: Fri, 28 Sep 2007 20:28:25 +0200
On Fri, 28 Sep 2007 19:11:35 +0300, Esa Heikkinen
<esa.heikkinen@xxxxxx> wrote:
Hi Esa,
Hi
How easy would be make simple parser for C/C++ by tcl ?
I would want to make tcl-script, which searchs all functions/methods and
entry/exit points of functions/methods from C/C++-source file.
I think this should be possible, but i don't know how.
Michael already directed you to the page on the wiki which is probably
the best starting point for parsing C.
As for C++, there is no such thing as a "simple parser". Think of
classes, function and operator overloading, namespaces and - the most
terrible of all (in terms of parsing) - templates.
Just my 0.02
Best regards
Helmut Giese
.
- Follow-Ups:
- Re: Simple parser for C/C++
- From: Esa Heikkinen
- Re: Simple parser for C/C++
- References:
- Simple parser for C/C++
- From: Esa Heikkinen
- Simple parser for C/C++
- Prev by Date: reversing html
- Next by Date: Converting ANI to DNIS on a cisco router
- Previous by thread: Re: Simple parser for C/C++
- Next by thread: Re: Simple parser for C/C++
- Index(es):
Relevant Pages
|