-
Notifications
You must be signed in to change notification settings - Fork 0
/
overview.html
69 lines (58 loc) · 2.31 KB
/
overview.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<html>
<body>
xtc is a framework for building extensible source-to-source
translators and compilers.
<h4>License</h4>
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.
<p />Generally, most code in xtc is released under the GPL. However,
most runtime classes for <em>Rats!</em>-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:<ul>
<li>{@link xtc.parser.ParserBase}</li>
<li>{@link xtc.parser.Column}</li>
<li>{@link xtc.parser.Result}</li>
<li>{@link xtc.parser.SemanticValue}</li>
<li>{@link xtc.parser.ParseError}</li>
<li>{@link xtc.parser.ParseException}</li>
<li>{@link xtc.lang.cpp.CActions}</li>
<li>{@link xtc.lang.cpp.CContext}</li>
<li>{@link xtc.lang.cpp.ConditionEvaluator}</li>
<li>{@link xtc.lang.cpp.ContextManager}</li>
<li>{@link xtc.lang.cpp.ForkMergeParser}</li>
<li>{@link xtc.lang.cpp.ForkMergeParserTables}</li>
<li>{@link xtc.lang.cpp.HeaderFileManager}</li>
<li>{@link xtc.lang.cpp.MacroTable}</li>
<li>{@link xtc.lang.cpp.Preprocessor}</li>
<li>{@link xtc.lang.cpp.Statistics}</li>
<li>{@link xtc.lang.cpp.SuperC}</li>
<li>{@link xtc.lang.cpp.Syntax}</li>
<li>{@link xtc.tree.Location}</li>
<li>{@link xtc.tree.Locatable}</li>
<li>{@link xtc.tree.Node}</li>
<li>{@link xtc.tree.Token}</li>
<li>{@link xtc.tree.Annotation}</li>
<li>{@link xtc.tree.Formatting}</li>
<li>{@link xtc.tree.GNode}</li>
<li>{@link xtc.util.Action}</li>
<li>{@link xtc.util.EmptyIterator}</li>
<li>{@link xtc.util.Function}</li>
<li>{@link xtc.util.Pair}</li>
<li>{@link xtc.util.Runtime}</li>
<li>{@link xtc.util.SingletonIterator}</li>
<li>{@link xtc.util.State}</li>
<li>{@link xtc.util.SymbolTable}</li>
<li>{@link xtc.util.Tool}</li>
<li>{@link xtc.util.Utilities}</li>
</ul>
To ensure that a <em>Rats!</em>-generated parser is compatible with
the LGPL, invoke <em>Rats!</em> with the <code>-lgpl</code> command
line argument.
</body>
</html>