C/C++ data-structure/Class parser written in python

Craig Rasmussen crasmussen at lanl.gov
Mon May 13 12:35:23 EDT 2002


On Thursday, May 9, 2002, at 02:59 PM, Pierre Rouleau wrote:

> Hi,
>
>     has anyone come across a parser that can parse C (at minimum) and
> C++ (optional) data structure declarations written in python?
>
> Really, all i need would be a simple parser that can parse a set of C
> headers declaring structure types that can be used to create complete
> structure member trees.


A C++ solution can be found at:

http://www.cs.uoregon.edu/research/paracomp/pdtoolkit/


We are currently working on a Java port that would be accessible
with JPython, however this won't be ready for a month or so.

Craig






More information about the Python-list mailing list