| 1 | <html> |
| 2 | <body> |
| 3 | |
| 4 | xtc is a framework for building extensible source-to-source |
| 5 | translators and compilers. |
| 6 | |
| 7 | <h4>License</h4> |
| 8 | |
| 9 | xtc is copyrighted in parts by Robert Grimm, New York University, |
| 10 | Princeton University, and IBM; see each file's header for the relevant |
| 11 | copyright notice. xtc also is open source software and released in |
| 12 | parts under the GNU General Public License (GPL) version 2 and the GNU |
| 13 | Lesser General Public License (LGPL) version 2.1, again as documented |
| 14 | in each file's header. |
| 15 | |
| 16 | <p />Generally, most code in xtc is released under the GPL. However, |
| 17 | most runtime classes for <em>Rats!</em>-generated parsers, including |
| 18 | classes for representing AST nodes, are released under the LGPL. |
| 19 | Furthermore, all runtime classes for Typical-generated type checkers |
| 20 | are released under the LGPL. In detail, the classes released under |
| 21 | the LGPL are:<ul> |
| 22 | |
| 23 | <li>{@link xtc.parser.ParserBase}</li> |
| 24 | <li>{@link xtc.parser.Column}</li> |
| 25 | <li>{@link xtc.parser.Result}</li> |
| 26 | <li>{@link xtc.parser.SemanticValue}</li> |
| 27 | <li>{@link xtc.parser.ParseError}</li> |
| 28 | <li>{@link xtc.parser.ParseException}</li> |
| 29 | |
| 30 | <li>{@link xtc.tree.Location}</li> |
| 31 | <li>{@link xtc.tree.Locatable}</li> |
| 32 | <li>{@link xtc.tree.Node}</li> |
| 33 | <li>{@link xtc.tree.Token}</li> |
| 34 | <li>{@link xtc.tree.Annotation}</li> |
| 35 | <li>{@link xtc.tree.Formatting}</li> |
| 36 | <li>{@link xtc.tree.GNode}</li> |
| 37 | |
| 38 | <li>{@link xtc.typical.Analyzer}</li> |
| 39 | <li>{@link xtc.typical.Name}</li> |
| 40 | <li>{@link xtc.typical.Primitives}</li> |
| 41 | <li>{@link xtc.typical.Record}</li> |
| 42 | <li>{@link xtc.typical.Reduction}</li> |
| 43 | <li>{@link xtc.typical.Scope}</li> |
| 44 | <li>{@link xtc.typical.ScopeKind}</li> |
| 45 | <li>{@link xtc.typical.Tuple}</li> |
| 46 | <li>{@link xtc.typical.Variant}</li> |
| 47 | |
| 48 | <li>{@link xtc.util.Action}</li> |
| 49 | <li>{@link xtc.util.EmptyIterator}</li> |
| 50 | <li>{@link xtc.util.Function}</li> |
| 51 | <li>{@link xtc.util.Pair}</li> |
| 52 | <li>{@link xtc.util.Runtime}</li> |
| 53 | <li>{@link xtc.util.SingletonIterator}</li> |
| 54 | <li>{@link xtc.util.State}</li> |
| 55 | <li>{@link xtc.util.SymbolTable}</li> |
| 56 | <li>{@link xtc.util.Tool}</li> |
| 57 | <li>{@link xtc.util.Utilities}</li> |
| 58 | |
| 59 | </ul> |
| 60 | |
| 61 | To ensure that a <em>Rats!</em>-generated parser is compatible with |
| 62 | the LGPL, invoke <em>Rats!</em> with the <code>-lgpl</code> command |
| 63 | line argument. |
| 64 | |
| 65 | </body> |
| 66 | </html> |