%TOC% ---++ Introduction CX is an aterm bridge for [[http://manju.cs.berkeley.edu/cil/][CIL]], an existing C front-end implement in OCaml. The Stratego/XT-based package CX uses this bridge to read C code. CX will become a full set of tools for combining CIL and Stratego for the implementation of C transformations and analysis. The main difference with other Stratego/XT projects that provide support for C (Transformers) is that this uses an existing C front-end and not an SDF-based parser. The advantage is that you get the solid support of the existing frontend. CIL supports some C dialects as well. The disadvantage is that there is no grammar from which you can derive useful things for use with Stratego/XT. ---++ Features * C to ATerm bridge based on CIL * Pretty-printer from CIL to C ---++ Download ---+++ Latest Developments Distributions (tarball, rpm, srpm) of the head revision are created continuously: * %DIST%/cx-unstable-latest/ The distributions contain the latest of the latest developments, but if you really want to, the latest sources can be checked out using:
svn checkout %SVNSTRATEGOXT%/cx/trunkBefore you can configure the package as described above you have to run the =./bootstrap= script. ---+++ Installation Install the package with the usual sequence of commands: