GccTranslationUnit

This module provides Python tools for reading the output from gcc/g++ -fdump-translation-unit and creating Python objects representing the nodes. These can then be resolved to create higher-level constructs such as structure definitions, function/routine declarations, etc. The module provides a tool for generating native registration tables for R packages containing native code.

Download

The source distribution is available as zipped tar file GccTranslationUnit-0.1-0.tar.gz

Installation

To install, you can make use of the distutils module with the shell command:
 python setup.py install [--home=]
or
 python setup.py install [--prefix=]
Note that if you have multiple versions of Python installed on your machine, you may have to be specific about which one to invoke. You will need Python 2.1 at least, and 2.2 is preferred.

Documentation

  • An Overview
    PDF, Postscript
  • FAQ
  • Change log

  • Duncan Temple Lang <duncan@research.bell-labs.com>
    Last modified: Wed Jan 15 09:17:25 UTC 2003