-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
417 lines (355 loc) · 17.2 KB
/
index.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ANTLR Parser Generator</title>
<meta name="keywords" content="language translation, languages, tree parser, parsing, parser generator, template, engine, template engine, code instrumentation, Java, Python, C Sharp, C#, C++, Terence Parr, ANTLR, translation, code generation, templates, model-view-controller, MVC, strict separation, function language, StringTemplate" />
<meta name="description" content="ANTLR: ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions." />
<meta name="description" content="StringTemplate: a Java template engine used for any application generating text such as language translators and dynamic web sites; available in C# and Python as well." />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1024344-4']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body link="#333366" vlink="#666699" text="#000000">
<!--
Keywords: language translation, languages, tree parser, parsing, parser generator, template, engine, template engine, code instrumentation, Java, Python, C Sharp, C#, C++, Terence Parr, ANTLR, translation, code generation, templates, model-view-controller, MVC, strict separation, function language, StringTemplate
Description: StringTemplate is a template engine used for any application generating text such as language translators and dynamic web sites.
-->
<!-- Terence Parr -->
<!-- University of San Francisco -->
<!-- parser generator -->
<!-- tree parser -->
<!-- tree walker -->
<!-- java template engine -->
<!-- python template engine -->
<!-- C# template engine -->
<!-- code generation -->
<!-- language translation -->
<!-- C++, C#, Java, Python, C -->
<div align="center">
<!-- BEGIN NAVIGATION -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="right">
<font size="2" face="arial,helvetica"><strong><a href="/">Home</a></strong> |
<strong><a href="/download.html">Download</a></strong> |
<strong><a href="/works">ANTLRWorks</a></strong> |
<strong><a href="https://theantlrguy.atlassian.net/wiki/display/ANTLR3/ANTLR+3+Wiki+Home">Wiki</a></strong> |
<strong><a href="/about.html">About ANTLR</a></strong> |
<strong><a href="mailto:[email protected]">Contact</a></strong> |
<strong><a href="/support.html">Support</a></strong> |
<strong><a href="https://github.com/antlr/antlr3/issues?sort=created&direction=desc&state=open">Bugs</a></strong> |
<strong><a href="http://www.antlr2.org">v2</a></strong>
</font><br>
<img src="/images/shim.gif" width="780" height="5" alt="" border="0"><br>
</td>
</tr>
</table>
<!-- END NAVIGATION -->
<div align="center"><img src="/images/shim.gif" width="780" height="6" alt="" border="0"></div>
<!-- BEGIN BANNER -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left" width="499">
<a href="/"><img src="/images/logo-head.gif" width="499" height="48" alt="" border="0"></a>
</td>
<td align="left" width="100%" background="/images/head-shim.gif" bgcolor="#336699"><img src="/images/logo-head.gif" width="1" height="1" alt="" border="0">
</td>
<td align="right" valign="top" width="150" background="/images/head-shim.gif" bgcolor="#336699"><img src="/images/shim.gif" width="150" height="8" alt="" border="0"><br>
<font size="2" face="arial,helvetica"><strong>Latest version is <font color="#ffffff">3.5.3</font><br>
Download now! »</strong></font><br></td>
<td align="right" valign="middle" width="128" background="/images/head-shim.gif" bgcolor="#336699">
<a href="/download.html"><img src="/images/button-download.gif" width="122" height="29" alt="Download" align="right" border="0"></a></td>
</tr>
</table>
<!-- END BANNER -->
<div align="center"><img src="/images/shim.gif" width="780" height="6" alt="" border="0"></div>
<!-- BEGIN BODY -->
<!-- pale green -->
<table width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td bgcolor="#9DC3FF" width="33%" valign="top">
<font face="arial,helvetica" size="2">
<img src="/images/terence_antlr.jpg" width="73" alt="Terence Parr" align="right" vspace="3" hspace="8" border="0">
<b>What is ANTLR?</b><br>
<b>ANTLR</b>, ANother Tool for Language Recognition, is a language
tool that provides a framework for constructing recognizers,
interpreters, compilers, and translators from grammatical descriptions
containing actions in a variety of <a
href="https://theantlrguy.atlassian.net/wiki/display/ANTLR3/Code+Generation+Targets"><b>target
languages</b></a>. ANTLR provides excellent support for tree
construction, tree walking, translation, error recovery, and error
reporting. There are currently about <b>5,000</b> ANTLR source
downloads a month.<br><br>
<a href="/works"><img align=right width=110 src="/works/screenshots/thumbs/decisiondfa.png"></a>
ANTLR has a sophisticated grammar development environment
called <a href="/works"><b>ANTLRWorks</b></a>, written by Jean Bovet.
<br><br><a href="https://www.linkedin.com/in/terence-parr"><b>Terence Parr</b></a> is the maniac
behind ANTLR and has been working on language tools since 1989. He is a
tech lead at Google, formerly professor of computer science and
data science at the University of San Francisco.
<br><br>
<a href="/about.html"><b>More...</b></a><br></font>
<img src="/images/shim.gif" width="240" height="1" alt="" border="0"><br>
</td>
<td bgcolor="#9DC3FF" width="33%" valign="top">
<font face="arial,helvetica" size="2">
<b>Testimonials</b><br><br>
<!--
Kudos<br>
<strong>Guido van Rossum</strong><br>
I'm actually really liking ANTLR! I have a pretty darn good velocity with a rapid prototyping project I am doing in my Google 20% time. For example, I just discovered a feature in rewrite rules that does exactly what I need (referencing previous rule ASTs, p. 174 in your book). It took me about 5 minutes to get this to work and remove an ugly wart from my grammar. Hats off!<br><br>
-->
Thanks to all the ANTLR team !<br>
<b>[email protected]</b><br>
<i>Just a few words to say that we used ANTLR V3.4 to create our own extension...</i><br><br>Antlr for NLP<br>
<b>Mihai Surdeanu</b><br>
<i>At Lex Machina (lexmachina.com) we use Antlr for information extraction...</i><br><br>Using ANTLR to build a query parser and translator<br>
<b>Atul Dambalkar ([email protected])</b><br>
<i>We have been using ANTLR to build a query parser and then converting the...</i><br><br>ANTLR makes building custom DSLs a breeze<br>
<b>Mukundan Agaram (Enterprise Architect at...</b><br>
<i>We used ANTLR to build and parse custom Domain Specific Business Rule Languages...</i><br><br>
<a href="/testimonial/list.html"><b>More...</b></a><br>
</font>
<img src="/images/shim.gif" width="240" height="1" alt="" border="0"><br>
</td>
<td bgcolor="#9DC3FF" width="33%" valign="top">
<font face="arial,helvetica" size="2">
<b>Showcase</b><br>
<a href="http://www.release14.org"><b>Release14</b></a><br>
<b>Damir Franusic</b> <i>Wed Sep 19, 2012 08:09</i><br>
Release14 product line uses ANTLR in various modules like CLI, SMS Filtering,...<br><br><a href="http://sourceforge.net/p/udkeclipse/home/Home/"><b>UDK/UnrealScript plugin for Eclipse</b></a><br>
<b>Ori Hanegby</b> <i>Wed Aug 17, 2011 08:28</i><br>
UDK/UnrealScript support for eclipse. Adds support for code completion,...<br><br><a href="https://github.com/dizz/occi-grammar"><b>Open Cloud Computing Interface</b></a><br>
<b>Andy Edmonds</b> <i>Tue Jun 21, 2011 08:49</i><br>
The OCCI grammar supplies a lexer and parser that will validate any valid...<br><br>
<a href="/showcase/list.html"><b>More...</b></a>
<br><br>
<table border=0 cellspacing=0 cellpadding=1 width=100%>
<tr>
<td width=1 bgcolor="#999999">
<table border=0 cellspacing=0 cellpadding=10 width=100%>
<tr>
<td bgcolor="#9DC3FF">
<font size="2" face="arial,helvetica"><strong>
TRY NEW <a href="http://www.antlr4.org"><b>ANTLR v4</b></a>!</font>
</td></tr></table>
</td></tr></table>
<p>
<table border=0 cellspacing=0 cellpadding=1 width=100%>
<tr>
<td width=1 bgcolor="#999999">
<table border=0 cellspacing=0 cellpadding=10 width=100%>
<tr>
<td bgcolor="#9DC3FF">
<font face="arial,helvetica" size="2">
<strong>If you like ANTLR, check out the <a href="http://www.stringtemplate.org">StringTemplate template engine</a> for all your structured text generation needs.</strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
</tr>
</table>
<div align="center"><img src="/images/shim.gif" width="780" height="6" alt="" border="0"></div>
<!-- BEGIN SEARCH -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<form METHOD=GET ACTION="http://www.google.com/search">
<tr>
<td align="middle" valign="middle" bgcolor="#4679AC" width="88"><img src="/images/shim.gif" width="88" height="1" alt="" border="0"><br><img src="/images/search.gif" width="68" height="9" alt="Search" border="0"></td>
<td width="100%" valign="top" bgcolor="#4679AC"><img src="/images/shim.gif" width="1" height="3" alt="" border="0"><br><input type="text" name="query" size="30" style="width:100%; font-family:geneva,arial; background-color:#ffffff; color:#000000; font-size:10pt;"><br>
</td>
<td bgcolor="#4679AC" valign="middle" width="61">
<input type=hidden name=q value="site:antlr.org">
</td>
</tr>
</form>
</table>
<!-- END SEARCH -->
<div align="center"><img src="/images/shim.gif" width="780" height="6" alt="" border="0"></div>
<!-- pale green -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#ffffff" width="33%" valign="top">
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<td bgcolor="#9DC3FF">
<font face="arial,helvetica" size="2">
<b>News</b><br>
</td>
</tr>
<tr><td>
<font size="2" face="arial,helvetica"><strong>TRY NEW <a href="http://www.antlr4.org"><b>ANTLR v4</b></a></font>
</td>
</tr>
<tr>
<td><font face="arial,helvetica" size="2">
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 30000,
width: 250,
height: 300,
theme: {
shell: {
background: '#ffffff',
color: '#000000'
},
tweets: {
background: '#ffffff',
color: '#000000',
links: '#0785eb'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('the_antlr_guy').start();
</script>
<img src="/images/shim.gif" width="240" height="1" alt="" border="0">
</td>
</tr>
</table>
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<td bgcolor="#9DC3FF">
<font face="arial,helvetica" size="2">
<b>File Sharing</b><br>
</td>
</tr>
<tr>
<td><font face="arial,helvetica" size="2">
<a href="/share/1340361690237/AntlrJavaRuntime.tar.gz"><b>Android port for ANTLR Java Runtime - UPDATED</b></a><br>
<b>Earlence Fernandes</b> <i>Fri Jun 22, 2012 03:41</i><br>
This package contains updated instructions and documentation for my earlier...<br><br><a href="/share/1331919785752/Unification_Learning.pdf"><b>Unification Algorithm in F#</b></a><br>
<b>Eric Taucher</b> <i>Fri Mar 16, 2012 10:43</i><br>
Robinson Unification Algorithm in F# - Learning Version<br><br><a href="/share/1323101639207/antlr.zip"><b>Using antlr+stringtemplate to Generate Method Chaining, written in Chinese</b></a><br>
<b>YANG Guifu</b> <i>Mon Dec 5, 2011 08:13</i><br>
It is a 6-days-blog attatched, which descibes step by step how to<br><br><a href="/share/1315417349973/stg.vim"><b>Vim Stringtemplate Syntax</b></a><br>
<b>Kenney Westerhof</b> <i>Wed Sep 7, 2011 10:42</i><br>
A VIM syntax file for StringTemplate files (.stg etc..)<br><br>
<a href="/share/list.html"><b>More...</b></a></font>
<img src="/images/shim.gif" width="240" height="1" alt="" border="0">
</td>
</tr>
</table>
</td>
<td bgcolor="#ffffff" width="33%" valign="top">
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<td bgcolor="#9DC3FF">
<font face="arial,helvetica" size="2">
<b>Documentation</b><br>
</td>
</tr>
<tr>
<td><font face="arial,helvetica" size="2">
<a href="https://theantlrguy.atlassian.net/wiki/display/ANTLR3/FAQ+-+Getting+Started"><b>Getting started with ANTLR v3</b></a><br><br>
<a href="https://theantlrguy.atlassian.net/wiki/display/ANTLR3/ANTLR+v3+documentation"><b>ANTLR Documentation</b></a><br><br>
<a
href="http://www.pragmaticprogrammer.com/titles/tpantlr/index.html"><img
align=right src="/images/antlr.book.jpg" width=75></a><a
href="http://pragprog.com/book/tpdsl/language-implementation-patterns"><img
align=right src="/images/tpdsl.jpg" width=55></a><a href="http://pragprog.com/book/tpantlr2/the-definitive-antlr-4-reference"><img align=right src="/images/tpantlr2.jpg" width=100></a><a
href="http://pragprog.com/book/tpantlr2/the-definitive-antlr-4-reference"><b>The Definitive ANTLR 4 Reference</b></a>
BETA book now available (eBook only for now).<br><br>
<a
href="http://www.pragmaticprogrammer.com/titles/tpantlr/index.html"><b>The
Definitive ANTLR Reference</b></a> (PDF available), <a
href="http://pragprog.com/book/tpdsl/language-implementation-patterns"><b>Language
Implementation Patterns</b></a> (PDF available).<br><br>
<a href="https://theantlrguy.atlassian.net/wiki/display/ANTLR3/Code+Generation+Targets"><b>Using ANTLR target languages</b></a><br><br>
<a href="/api/index.html"><b>Runtime API Doc</b></a><br><br>
<a href="https://theantlrguy.atlassian.net/wiki/display/ANTLR3/ANTLR+v3+FAQ"><b>ANTLR FAQ</b></a><br><br>
<a href="https://github.com/antlr/antlr3"><b>Browse source tree (github)</b></a><br><br>
<a href="https://theantlrguy.atlassian.net/wiki/display/CS652/CS652+Home"><b>Programming language course lecture notes</b></a><br><br>
<a href="/doc/glossary.html"><b>ANTLR-centric language glossary</b></a>
<br><br>
</font>
</td>
</tr>
<tr>
<td bgcolor="#9DC3FF">
<font face="arial,helvetica" size="2">
<b>Grammars</b><br>
</td>
</tr>
<tr>
<td>
<font face="arial,helvetica" size="2">
<a href="/grammar/1347528470063/MySQL.g"><b>mysql Parser</b></a><br>
<b>wangmin</b> <i>Thu Sep 13, 2012 02:27</i><br>
parse mysql, should has some errors in the grammer parser, if any pazzle,...<br><br><a href="/grammar/1345144569663/AntlrUnicode.txt"><b>Unicode Character Classes</b></a><br>
<b>Roger Jack</b> <i>Thu Aug 16, 2012 12:16</i><br>
This file contains lexer fragments to support 16-bit Unicode Character...<br><br><a href="/grammar/1342970763769/Java6Separated.zip"><b>Java6Separated</b></a><br>
<b>George S. Cowan</b> <i>Sun Jul 22, 2012 08:26</i><br>
The Java 6 grammar separated into a lexer grammar and a parser grammar,...<br><br><a href="http://softabar.com/home/command-line-grammar/"><b>Command Line Grammar</b></a><br>
<b></b> <i>Wed Jul 11, 2012 06:10</i><br>
Command Line Grammar is used to parse command lines of Softabar Command...<br><br>
<a href="/grammar/list.html"><b>More...</b></a></font>
<img src="/images/shim.gif" width="240" height="1" alt="" border="0">
</td>
</tr>
</table>
</td>
<td bgcolor="#ffffff" width="33%" valign="top">
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<td bgcolor="#9DC3FF">
<font face="arial,helvetica" size="2">
<b>Articles</b><br>
</td>
</tr>
<tr>
<td><font face="arial,helvetica" size="2">
<a href="http://www.codeproject.com/Articles/371453/Visual-AST-for-ANTLR-Generated-Parser-Output"><b>Visual AST for ANTLR Generated Parser Output</b></a><br>
<b>Matthew YC So</b> <i>Tue Apr 24, 2012 08:56</i><br>
<br><br><a href="https://www.infoq.com/presentations/Automation-DSL#mainLogin"><b>Why program by hand in five days what you could spend five years of your life automating?</b></a><br>
<b>Terence Parr</b> <i>Thu Aug 4, 2011 11:52</i><br>
Slides from keynote from Code Generation 2011 conference in Cambridge,...<br><br><a href="http://wiki.netbeans.org/Integrating_ANTLR_without_learning_Ant"><b>Integrating ANTLR without learning Ant (in NetBeans)</b></a><br>
<b>Jeff Allen</b> <i>Sun May 22, 2011 07:09</i><br>
<br><br><a href="http://wiki.netbeans.org/Integrating_ANTLR_without_learning_Ant"><b>Integrating ANTLR without learning Ant (in NetBeans)</b></a><br>
<b>Jeff Allen</b> <i>Sat May 21, 2011 07:05</i><br>
This article shows you how to incorporate ANTLR within a NetBeans build,...<br><br>
<a href="/article/list.html"><b>More...</b></a></font>
<img src="/images/shim.gif" width="240" height="1" alt="" border="0">
</td>
</tr>
</table>
<br>
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<td bgcolor="#9DC3FF">
<font face="arial,helvetica" size="2">
<b>Mailing list</b><br>
</td>
</tr>
<tr>
<td>
<font face="arial,helvetica" size="2">
<a href="https://groups.google.com/forum/#!forum/antlr-discussion"><b>Google discussion group (v3, v4)</b></a></font><br><br>
<font face="arial,helvetica" size="2">
<a href="http://www.antlr3.org/pipermail/antlr-interest"><b>Old list archives</b></a></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END BODY -->
</div>
</body>
</html>