Commit Graph

2180 Commits

Author SHA1 Message Date
Sam Harwell 538f66a194 Documentation and cleanup in AttributeDict 2013-01-11 11:49:51 -06:00
Sam Harwell 40a40e0fee Add detailed errors for the various types of conflicts between names of rules, tokens, parameters, return values, locals, and labels 2013-01-11 11:45:24 -06:00
Sam Harwell 47dcd4881c Report conflicting argument error at specific location in input 2013-01-11 10:17:07 -06:00
Sam Harwell 0496cff256 Add field Attribute.token to hold a pseudo-token with specific location information for the attribute; track this position in ScopeParser 2013-01-11 09:49:38 -06:00
Sam Harwell 260115fa23 The ARG_ACTION token for a rule's locals is always an ActionAST 2013-01-11 09:46:33 -06:00
Sam Harwell 3bfd7c3770 Add map from Java's logical fonts to postscript font names 2013-01-10 15:02:17 -06:00
Sam Harwell f19059d6b5 Calculate font metrics from the system 2013-01-10 15:02:11 -06:00
Sam Harwell 723637fc59 Update CHANGES.txt 2013-01-10 15:00:16 -06:00
Sam Harwell 6b3d102ba1 Also check rule list labels 2013-01-10 14:57:51 -06:00
Sam Harwell 899d15aa5a Handle null scope 2013-01-10 14:49:04 -06:00
Sam Harwell 19f861ee81 Added error message 135: cannot assign a value to list label: $label 2013-01-10 14:48:59 -06:00
Sam Harwell 8d13e3c47e Ant build.xml: Tweak build message 2013-01-06 16:16:25 -06:00
Sam Harwell 567baefa62 Ant build.xml: improved up-to-date checks, remove need to pass "-make" to the ANTLR 3 tool 2013-01-06 15:28:16 -06:00
Sam Harwell 01bc4f1ab7 Ant build.xml: use macro to simplify multiple calls to the tool 2013-01-06 15:28:15 -06:00
Sam Harwell 4d3da87119 Ant build.xml: Move mkdir task to antlr3 target, where the grammars are actually compiled 2013-01-06 15:28:13 -06:00
Sam Harwell dfb2143077 Ant build.xml: rename antlr3.gen.dir property to build.antlr3.dir 2013-01-06 15:28:12 -06:00
Sam Harwell f2ae1ef204 Ant build.xml: allow user settings in user.build.properties 2013-01-06 15:28:07 -06:00
Sam Harwell 0cced01ab3 Ant build.xml: look for ANTLR 3 library in lib folder, download from antlr.org if missing. Remove unnecessary build.properties. 2013-01-06 15:27:45 -06:00
Sam Harwell f1b6e93a04 Revert "Ant build.xml: Faster build if we don't fork the ANTLR task"
This reverts commit 6e9129848e.
2013-01-05 14:35:37 -06:00
Sam Harwell d1ba09f1f7 Clarify number of allowed transitions leaving a state 2013-01-05 14:34:16 -06:00
Sam Harwell f59a08c172 Maven build: reference jUnit 4.10, ANTLR 3.5 final, ST 4.0.7 final 2013-01-05 06:08:12 -06:00
Sam Harwell 93f7a448e7 Add graphs describing ATNState relations 2013-01-05 05:47:15 -06:00
Sam Harwell 57295785d5 Ant build.xml: Improve build performance avoiding an unnecessary directory copy 2013-01-05 05:40:19 -06:00
Sam Harwell 6e9129848e Ant build.xml: Faster build if we don't fork the ANTLR task 2013-01-05 05:40:18 -06:00
Sam Harwell ed648758a0 Ant build.xml: Include generated grammars in source zip for debugging purposes 2013-01-05 05:40:17 -06:00
Sam Harwell 1f41537826 Ant build.xml: Generate grammars in a separate intermediate build output folder 2013-01-05 05:40:16 -06:00
Sam Harwell dac6355b45 Ant build.xml: build fails if grammar compilation fails 2013-01-05 05:40:15 -06:00
Sam Harwell 4cf2bb2bba Ant build.xml: pass -Xlint -Xlint:-serial to javac 2013-01-05 05:40:13 -06:00
Sam Harwell af74df88ee Ant build.xml: remove irrelevant comments 2013-01-05 05:40:12 -06:00
Sam Harwell fb865cec3b Maven builds: if mvn is not run with -Psonatype-oss-release, then 1) javadocs are not generated, 2) source jar is not generated, 3) artifacts are not signed, 4) shaded (complete) jar is not generated. Development cycle install ~4:1 faster, clean+install ~2:1 faster 2013-01-05 05:40:11 -06:00
Sam Harwell 0ee0de1e06 Maven builds run unit tests in-process by default 2013-01-05 05:40:10 -06:00
Sam Harwell 78124081f1 Also ignore profile-specific nbactions-*.xml 2013-01-05 05:40:08 -06:00
Terence Parr d54b557cc2 tweak lib 2013-01-04 17:45:13 -08:00
Sam Harwell d95cdab065 Updated documentation in PredictionMode 2013-01-03 04:03:34 -06:00
Sam Harwell 98d2ba8fb5 Correct link to GitHub issue for unit test documentation 2013-01-03 02:46:58 -06:00
Sam Harwell 4010c599ba Clarify the impact of configurations in rule stop states on the parser prediction termination algorithm 2013-01-03 02:46:24 -06:00
Sam Harwell 2b2114c3ae Javadoc formatting, clarification, and links 2013-01-03 02:45:09 -06:00
Sam Harwell 90c234895a Added javadocs for recently added methods 2013-01-03 02:44:39 -06:00
Sam Harwell 6c23a96046 Always update ATNConfigSet.hasSemanticContext and ATNConfigSet.dipsIntoOuterContext when adding configurations to the set; remove unnecessary manual updates 2013-01-03 02:41:02 -06:00
Sam Harwell 9b5417c54a Update CHANGES.txt 2013-01-02 13:58:42 -06:00
Sam Harwell 4754ef993a Simplify similar code paths 2013-01-02 13:46:00 -06:00
Sam Harwell 51437b7eed Fix handling of rule stop states in full context mode 2013-01-02 13:45:59 -06:00
Sam Harwell 1f4f850765 Remove unnecessary null checks 2013-01-02 13:45:58 -06:00
Sam Harwell 43c5dd0a67 Handle potential null value 2013-01-02 13:45:57 -06:00
Sam Harwell 0b7a0a4c4b Add several additional checks to verifyATN 2013-01-02 13:45:55 -06:00
Sam Harwell 6a9a6f7e50 Extract checkCondition helper method 2013-01-02 13:45:54 -06:00
Sam Harwell 21ac9a3ebe ATNSimulator.stateFactory sets the ruleIndex (required), not the stateNumber (it's overwritten in ATN.addState) 2013-01-02 12:50:57 -06:00
Sam Harwell a5e0c47be5 Formatting: no space after cast 2013-01-02 12:49:12 -06:00
Sam Harwell fbfa61c3dd Remove tree parser reference 2013-01-02 12:48:58 -06:00
Sam Harwell 922fe53bdd Ignore testStartRuleWithoutEOF until we decide on the desired behavior 2013-01-02 09:06:00 -06:00