xtc is a framework for building extensible source-to-source translators and compilers.

License

xtc is copyrighted in parts by Robert Grimm, New York University, Princeton University, and IBM; see each file's header for the relevant copyright notice. xtc also is open source software and released in parts under the GNU General Public License (GPL) version 2 and the GNU Lesser General Public License (LGPL) version 2.1, again as documented in each file's header.

Generally, most code in xtc is released under the GPL. However, most runtime classes for Rats!-generated parsers, including classes for representing AST nodes, are released under the LGPL. Similarly, the runtime classes for the SuperC parsing engine are released under the LGPL. In detail, the classes released under the LGPL are:

To ensure that a Rats!-generated parser is compatible with the LGPL, invoke Rats! with the -lgpl command line argument.