Commit Graph

1966 Commits

Author SHA1 Message Date
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
Sam Harwell 4040dc0d6d After consuming EOF, only configurations in a RuleStopState are viable 2013-01-02 09:03:14 -06:00
Sam Harwell b34ad624bc No need to continue SLL prediction if every configuration is at a RuleStopState 2013-01-02 09:02:23 -06:00
Sam Harwell 61b872377c Add timeout to unit test due to highlight non-termination of prediction algorithm without resorting to @Ignore 2013-01-02 08:33:54 -06:00
Sam Harwell 2080be8a14 Cannot call IntStream.consume after EOF is reached 2013-01-02 08:30:25 -06:00
Sam Harwell e3383ecb61 Add unit test for start rule without EOF 2013-01-02 08:30:05 -06:00
Sam Harwell 8c92df27c6 Fix javadoc issues 2013-01-02 06:55:38 -06:00
Sam Harwell 274d566be6 TestPerformance.DEBUG_TEMPLATES should default to false 2013-01-02 06:50:05 -06:00
Sam Harwell d9a95948ff Updated CHANGES.txt 2013-01-02 06:44:07 -06:00
Sam Harwell 131c26edc0 Add @NotNull annotation 2013-01-02 06:41:24 -06:00
Sam Harwell 673dce5664 Add private constructor for Trees 2013-01-02 06:41:23 -06:00
Sam Harwell 8839d6b185 Remove unused/commented methods 2013-01-02 06:41:22 -06:00
Sam Harwell 112810db28 Documentation updates 2013-01-02 06:41:20 -06:00
Sam Harwell c462547ff3 Support the -XdbgST and -XdbgSTWait options in TestPerformance 2013-01-02 06:41:19 -06:00
Sam Harwell 26d267ca38 Add the -XdbgSTWait command line option to block the tool execution until the STViz inspection dialog is closed 2013-01-02 06:41:18 -06:00