This package provides utilities for manipulating C programs.
The easiest way to get started using the C metaprogramming utilities is with the main module:
|(require (planet dherman/c:1:0))|
This module provides everything in the entire package. Subsequent sections of this manual describe the functionality of the individual libraries included, which can also be required individually.
|> ( (time 'tm) 'tm_year)|
This package includes:
A library for compiling and running C programs with an external compiler–see Evaluation
A library for manipulating C syntax–see C Syntax
A library for compiling C header information–see Header Compilation
The parser is ad-hoc and handles only a limited subset of C. The AST definition is incomplete.
The parser does not, and likely never will, recognize the C preprocessor.
Any other feedback may be emailed to me, Dave Herman, at firstname.lastname@example.org.
Version 0.1 (2009-02-01) - Initial release. Reasonably usable for header extraction.