Java CUP Parser Generator
Release History
Version | Date | Description |
---|---|---|
0.11-a-czt02 | 2013-03-01 | CZT updates |
0.11-a-czt01 | 2012-10-19 | CZT updates |
0.11-a | 2006-06-08 | Java CUP release 0.11a |
Release 0.11-a-czt02 – 2013-03-01
Type | Changes | By |
---|---|---|
Added two new flags for suppressing warnings of generated code, specifically unchecked and unused. The former is local to all non-terminals declared with generic types, whereas the latter is global on cUP$actions class for now. Later, we wanted to make them local to every int left/right for terminals, but that's tricky string manipulation and rather error prone. | leouk | |
emit.java to contain flags at places to show what part of the code generates what bits. also reformatted the source for both production and emit. java | leouk |
Release 0.11-a-czt01 – 2012-10-19
Type | Changes | By |
---|---|---|
Further changes to java_cup.emit class to avoid "code too large" Java compiler errors. If the parser tables (e.g. action_table) are too large, they are serialized to an external file (e.g. action_table.dat) and loaded during runtime. Added an option "-external_tables" to always use external file for all parser tables. | andriusvelykis | |
Replaced System.exit() calls on fatal errors with unchecked exception: java_cup.CupParserException. This makes parser generation within IDEs better, since an error in generator no longer kills the IDE with it. | andriusvelykis | |
Updated to use Java Generics and avoid other warnings. | andriusvelykis | |
Changed the java_cup.emit class to break up each case in the parse table into its own method. This prevents do_action() method from growing too large, thus avoiding the "code too large" Java compiler error. | timmiller |