[Ctool-develop] using ctool as a library
Brought to you by:
flisakow
From: Stefan S. <se...@sy...> - 2003-07-31 17:56:19
|
hi there, I'm looking into ctool in an attempt to figure out whether I could use it as a C parser backend for another introspection tool I'm working on (http://synopsis.sf.net). Synopsis uses an abstract syntax tree (AST) internally, which is generated from parser modules. Right now we have parser modules for C++, python, and IDL. Adding C to the list would be quite a win. I couldn't figure out yet how to traverse the syntax tree the ctool internally generates. I'd be grateful for any hints. Thanks, Stefan |