| 1 |
|
| 2 |
This directory contains the JavaCC grammar for parsing (the proposed) |
| 3 |
JDK 1.5 Java language syntax. It handles generics, new for loops, static |
| 4 |
imports and annotation types. |
| 5 |
|
| 6 |
BUILDING |
| 7 |
-------- |
| 8 |
|
| 9 |
Just run |
| 10 |
|
| 11 |
ant |
| 12 |
|
| 13 |
in this directory and it will build the parser. |
| 14 |
|
| 15 |
|
| 16 |
RUNNING |
| 17 |
------- |
| 18 |
|
| 19 |
You can run the parser directly using |
| 20 |
|
| 21 |
java JavaParser <fileName> |
| 22 |
|
| 23 |
or there is a new Main class that accepts @<fileName> where the |
| 24 |
file with <fileName> contains list of files one per line: |
| 25 |
|
| 26 |
java Main @<fileName> |
| 27 |
|
| 28 |
REPORTING BUGS |
| 29 |
-------------- |
| 30 |
|
| 31 |
If you find bugs in the grammar, please file an issue at |
| 32 |
javacc.dev.java.net, by logging in and clicking on the 'Issue Tracking' |
| 33 |
link on the navigation bar on the left side. You can also send email to: |
| 34 |
[email protected]. |