File: overview.html

package info (click to toggle)
libxtc-rats-java 1.15.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 18,580 kB
  • sloc: java: 288,962; ansic: 20,406; ml: 14,775; makefile: 1,358; cpp: 621; sh: 352; xml: 259; perl: 123
file content (66 lines) | stat: -rw-r--r-- 2,190 bytes parent folder | download
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
<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.
Furthermore, all runtime classes for Typical-generated type checkers
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.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.typical.Analyzer}</li>
<li>{@link xtc.typical.Name}</li>
<li>{@link xtc.typical.Primitives}</li>
<li>{@link xtc.typical.Record}</li>
<li>{@link xtc.typical.Reduction}</li>
<li>{@link xtc.typical.Scope}</li>
<li>{@link xtc.typical.ScopeKind}</li>
<li>{@link xtc.typical.Tuple}</li>
<li>{@link xtc.typical.Variant}</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>