Skip to content

Commit 03c47f7

Browse files
parrtjckingtkvangorder
authored
Prep 4.10.1 (#3660)
* [C++] Remove reference to antlrcpp:s2ws (#3656) Signed-off-by: Justin King <[email protected]> * Fix build to set the release to Java 8 (#3648) Signed-off-by: Tyler Van Gorder <[email protected]> Co-authored-by: Tyler Van Gorder <[email protected]> * prep for 4.10.1 Signed-off-by: Terence Parr <[email protected]> * fix v numbers Signed-off-by: Terence Parr <[email protected]> Co-authored-by: Justin King <[email protected]> Co-authored-by: Tyler Van Gorder <[email protected]> Co-authored-by: Tyler Van Gorder <[email protected]>
1 parent f6b2022 commit 03c47f7

File tree

29 files changed

+120
-111
lines changed

29 files changed

+120
-111
lines changed

doc/getting-started.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Hi and welcome to the version 4 release of ANTLR! It's named after the fearless
66

77
ANTLR is really two things: a tool that translates your grammar to a parser/lexer in Java (or other target language) and the runtime needed by the generated parsers/lexers. Even if you are using the ANTLR Intellij plug-in or ANTLRWorks to run the ANTLR tool, the generated code will still need the runtime library.
88

9-
The first thing you should do is probably download and install a development tool plug-in. Even if you only use such tools for editing, they are great. Then, follow the instructions below to get the runtime environment available to your system to run generated parsers/lexers. In what follows, I talk about antlr-4.10-complete.jar, which has the tool and the runtime and any other support libraries (e.g., ANTLR v4 is written in v3).
9+
The first thing you should do is probably download and install a development tool plug-in. Even if you only use such tools for editing, they are great. Then, follow the instructions below to get the runtime environment available to your system to run generated parsers/lexers. In what follows, I talk about antlr-4.10.1-complete.jar, which has the tool and the runtime and any other support libraries (e.g., ANTLR v4 is written in v3).
1010

1111
If you are going to integrate ANTLR into your existing build system using mvn, ant, or want to get ANTLR into your IDE such as eclipse or intellij, see [Integrating ANTLR into Development Systems](https://github.com/antlr/antlr4/blob/master/doc/IDEs.md).
1212

@@ -16,36 +16,36 @@ If you are going to integrate ANTLR into your existing build system using mvn, a
1616
1. Download
1717
```
1818
$ cd /usr/local/lib
19-
$ curl -O https://www.antlr.org/download/antlr-4.10-complete.jar
19+
$ curl -O https://www.antlr.org/download/antlr-4.10.1-complete.jar
2020
```
2121
Or just download in browser from website:
2222
[https://www.antlr.org/download.html](https://www.antlr.org/download.html)
2323
and put it somewhere rational like `/usr/local/lib`.
2424

25-
2. Add `antlr-4.10-complete.jar` to your `CLASSPATH`:
25+
2. Add `antlr-4.10.1-complete.jar` to your `CLASSPATH`:
2626
```
27-
$ export CLASSPATH=".:/usr/local/lib/antlr-4.10-complete.jar:$CLASSPATH"
27+
$ export CLASSPATH=".:/usr/local/lib/antlr-4.10.1-complete.jar:$CLASSPATH"
2828
```
2929
It's also a good idea to put this in your `.bash_profile` or whatever your startup script is.
3030

3131
3. Create aliases for the ANTLR Tool, and `TestRig`.
3232
```
33-
$ alias antlr4='java -Xmx500M -cp "/usr/local/lib/antlr-4.10-complete.jar:$CLASSPATH" org.antlr.v4.Tool'
34-
$ alias grun='java -Xmx500M -cp "/usr/local/lib/antlr-4.10-complete.jar:$CLASSPATH" org.antlr.v4.gui.TestRig'
33+
$ alias antlr4='java -Xmx500M -cp "/usr/local/lib/antlr-4.10.1-complete.jar:$CLASSPATH" org.antlr.v4.Tool'
34+
$ alias grun='java -Xmx500M -cp "/usr/local/lib/antlr-4.10.1-complete.jar:$CLASSPATH" org.antlr.v4.gui.TestRig'
3535
```
3636

3737
### WINDOWS
3838

3939
(*Thanks to Graham Wideman*)
4040

4141
0. Install Java (version 1.7 or higher)
42-
1. Download antlr-4.10-complete.jar (or whatever version) from [https://www.antlr.org/download/](https://www.antlr.org/download/)
42+
1. Download antlr-4.10.1-complete.jar (or whatever version) from [https://www.antlr.org/download/](https://www.antlr.org/download/)
4343
Save to your directory for 3rd party Java libraries, say `C:\Javalib`
44-
2. Add `antlr-4.10-complete.jar` to CLASSPATH, either:
44+
2. Add `antlr-4.10.1-complete.jar` to CLASSPATH, either:
4545
* Permanently: Using System Properties dialog > Environment variables > Create or append to `CLASSPATH` variable
4646
* Temporarily, at command line:
4747
```
48-
SET CLASSPATH=.;C:\Javalib\antlr-4.10-complete.jar;%CLASSPATH%
48+
SET CLASSPATH=.;C:\Javalib\antlr-4.10.1-complete.jar;%CLASSPATH%
4949
```
5050
3. Create short convenient commands for the ANTLR Tool, and TestRig, using batch files or doskey commands:
5151
* Batch files (in directory in system PATH) antlr4.bat and grun.bat
@@ -71,7 +71,7 @@ Either launch org.antlr.v4.Tool directly:
7171

7272
```
7373
$ java org.antlr.v4.Tool
74-
ANTLR Parser Generator Version 4.10
74+
ANTLR Parser Generator Version 4.10.1
7575
-o ___ specify output directory where all output is generated
7676
-lib ___ specify location of .tokens files
7777
...
@@ -80,8 +80,8 @@ ANTLR Parser Generator Version 4.10
8080
or use -jar option on java:
8181

8282
```
83-
$ java -jar /usr/local/lib/antlr-4.10-complete.jar
84-
ANTLR Parser Generator Version 4.10
83+
$ java -jar /usr/local/lib/antlr-4.10.1-complete.jar
84+
ANTLR Parser Generator Version 4.10.1
8585
-o ___ specify output directory where all output is generated
8686
-lib ___ specify location of .tokens files
8787
...

0 commit comments

Comments
 (0)