1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
---|
2 | <HTML> |
---|
3 | <HEAD> |
---|
4 | <TITLE>A test file</TITLE> |
---|
5 | </HEAD> |
---|
6 | |
---|
7 | <BODY> |
---|
8 | |
---|
9 | <h2>ANTLR 2.xx Meta-Language</h2> |
---|
10 | <p>ANTLR 2.0 accepts three types of grammar |
---|
11 | specifications -- parsers, lexers, and tree-parsers (also |
---|
12 | called tree-walkers). Because ANTLR 2.0 uses LL(k) |
---|
13 | analysis for all three grammar variants, the grammar |
---|
14 | specifications are similar, and the generated lexers and |
---|
15 | parsers behave similarly. </p> |
---|
16 | <p>Note: in this document, the word "parser" |
---|
17 | usually includes tree-parsers as well as token stream |
---|
18 | parsers, except where noted. </p> |
---|
19 | <h3>Meta-Language Vocabulary</h3> |
---|
20 | <br> |
---|
21 | <p><b>Whitespace.</b> Spaces, tabs, and newlines are |
---|
22 | separators in that they can separate ANTLR vocabulary |
---|
23 | |
---|
24 | |
---|
25 | <p>Download <a href="http://www.antlr.org/download.html">ANTLR |
---|
26 | 2.4.0</a>.</p> |
---|
27 | |
---|
28 | <p><a href="antlr240release.html"><big><big>ANTLR 2.4.0 release |
---|
29 | notes</big></big></a></p> |
---|
30 | |
---|
31 | <p><big><a href="metalang.html#_bb1">ANTLR Meta-Language</a></big> |
---|
32 | <ul> |
---|
33 | <li><a href="metalang.html#_bb2">Meta-Language Vocabulary </a></li> |
---|
34 | <li><a href="metalang.html#_bb3">Header Section </a></li> |
---|
35 | <li> |
---|
36 | <ul> |
---|
37 | <li><a href="metalang.html#_bb21">Fixed depth lookahead and syntactic predicates</a></li> |
---|
38 | </ul> |
---|
39 | </li> |
---|
40 | <li><a href="dkfjdskjds">ANTLR Meta-Language Grammar </a></li> |
---|
41 | </ul> |
---|
42 | |
---|
43 | </BODY> |
---|
44 | |
---|
45 | </HTML> |
---|