Commit Graph

3206 Commits

Author SHA1 Message Date
Terence Parr d2b86997d1 Merge pull request #901 from parrt/master
LookaheadEventInfo now tracks alt taken by decision.
2015-06-12 17:44:58 -07:00
parrt dfeaadaa26 LookaheadEventInfo now tracks alt taken by decision. 2015-06-12 17:17:12 -07:00
Terence Parr a3ddd82950 Merge pull request #898 from parrt/check-eof-in-tree
Check eof in tree
2015-06-11 13:13:19 -07:00
parrt ed41558dc4 comment tweak. 2015-06-11 13:12:25 -07:00
parrt b8035d36d0 small speed tweak 2015-06-11 12:56:29 -07:00
parrt a28b299dd4 reset new boolean 2015-06-11 12:54:13 -07:00
parrt 81e2a654d7 clean up per Sam 2015-06-11 12:52:48 -07:00
parrt 94bb7c0af3 Fixes #897. An empty rule matched at the start got an improper interval. updated documentation for getSourceInterval(), added unit tests. fixed logic for special cases. 2015-06-11 12:39:21 -07:00
parrt 9e5cda85ed Fixes #896. EOF was not counted in source interval. 2015-06-11 10:56:59 -07:00
parrt 2da28ee5b2 add test showing EOF leaf not in source interval of tree 2015-06-11 10:37:36 -07:00
Terence Parr 8cf7082e89 add legacy bild 2015-06-07 11:43:39 -07:00
Terence Parr 37fb7a71fb Merge pull request #891 from parrt/master
improve gitignore
2015-06-06 09:30:22 -07:00
Terence Parr 24ae4b9bcb improve gitignore 2015-06-06 09:29:32 -07:00
Terence Parr d44751173b Merge pull request #889 from parrt/track-altnum-in-interp
Improve ParserInterpreter code simplicity
2015-06-05 16:15:36 -07:00
parrt dc445af663 Improve ParserInterpreter code simplicity 2015-06-05 16:14:20 -07:00
parrt b58eb66774 Merge branch 'master' of github.com:antlr/antlr4 2015-06-05 15:57:35 -07:00
parrt cf473b469c put /gen in gitignore 2015-06-05 15:57:19 -07:00
ericvergnaud 2e06ed8360 test added to check a user issue 2015-06-04 22:57:58 +08:00
parrt 3f9cb4b12f make more flexible by allowing subclass to spec test templates resource dir 2015-06-03 11:11:52 -07:00
parrt 965a50e82e Revert "Fixes #879. only gen parse listener enterRule events in enterOuterAlt, not enterRule."
This reverts commit a8b67147c2.
2015-06-03 10:50:41 -07:00
parrt ddf7cfc401 Revert "Fixes #802. Trigger events for alt labels in parser listeners."
This reverts commit 3674d45476.
2015-06-03 10:47:22 -07:00
Terence Parr 44664e8647 Merge pull request #885 from parrt/intermediate-test-generation
Intermediate test generation
2015-06-03 10:40:19 -07:00
parrt 6e3484a286 add old stuff back in. 2015-06-03 10:11:33 -07:00
parrt fec97f2938 tweaks 2015-06-03 09:58:22 -07:00
Terence Parr 6333674588 bild.py works to build c# now. 2015-06-02 20:06:35 -07:00
Terence Parr 29db15736d regen_test in bild.py works now 2015-06-02 17:24:06 -07:00
parrt 1323e30fa9 moving around templates, deleting old stuff. C# and Java runtime tests work using branch intermediate-test-generation of C#. bild doesn't quite test stuff correctly. 2015-06-02 16:00:45 -07:00
parrt 0c7df237db remove old java runtime test framework; reorg dirs. bild.py test_java appears to work. 2015-06-02 11:50:08 -07:00
parrt fafc7722c8 got bild to gen java tests (others commented out) and run those tests. rm'd .stg map in Index.stg. 2015-06-02 11:40:19 -07:00
parrt 07aea10ca7 allow more control of root dir. add info() 2015-06-02 10:32:25 -07:00
Terence Parr e3325ab606 add cmd-line interface, add map in Index.stg to targets-specific templates. 2015-06-01 18:18:44 -07:00
parrt b15e66985e add main to test gen. 2015-06-01 14:40:22 -07:00
Sam Harwell e355fc44e2 Extracted code generation portion of test suite generator to a separate artifact 2015-06-01 16:20:32 -05:00
Sam Harwell 23cdb2ee8f Merge branch 'test-generation' into parrt_master 2015-06-01 14:45:54 -05:00
parrt d73e73a091 update comments, rename var. 2015-05-29 14:10:08 -07:00
parrt 410fafb939 Merge branch 'master' of github.com:antlr/antlr4 2015-05-29 11:16:58 -07:00
parrt 181f670860 set version to 4.5.1 2015-05-29 11:16:40 -07:00
parrt 343d0f90b4 update comment 2015-05-29 11:15:56 -07:00
ericvergnaud 7d464aaca7 Merge pull request #882 from jcbrinfo/patch-1
Add @jcbrinfo as a contributor
2015-05-27 22:18:15 +08:00
jcbrinfo 8270e906b6 Add @jcbrinfo as a contributor
I want to contribute to the antlr/antlr4-python3 project.

Signed-off-by: jcbrinfo <jcbrinfo@users.noreply.github.com>
2015-05-27 10:13:23 -04:00
Terence Parr 85c145eff9 Merge pull request #881 from parrt/fix-missing-arg-on-rule-ref-in-lr-rule
Fixes #773. rule[arg] in non-lr rule alt didnt translate right
2015-05-22 16:50:57 -07:00
Terence Parr 3e5fc6972a Fixes #773. rule[arg] in non-lr rule alt didnt translate right 2015-05-22 16:49:31 -07:00
Sam Harwell e248be48d1 Restore missing test testAlternateQuotes 2015-05-22 15:39:35 -05:00
Sam Harwell 131599af1a Fix incorrect interpretation of test ListLabelForClosureContext 2015-05-22 15:39:08 -05:00
Sam Harwell ae52f2708a Fix incorrect reinterpretation of ReferenceToATN test 2015-05-22 15:38:34 -05:00
Sam Harwell 0fcba25d4e Add missing test DuplicatedLeftRecursiveCall_4 2015-05-22 15:37:34 -05:00
Sam Harwell a2d0995a37 Update debug option for tests 2015-05-22 15:37:13 -05:00
Sam Harwell 763906a2d7 Add original documentation back to test definitions 2015-05-22 15:35:57 -05:00
Sam Harwell b3e74e4897 Make template visualization optional (disabled by default) 2015-05-22 15:32:58 -05:00
Sam Harwell 3fe8bf3a10 Updated maven-surefire-plugin version 2015-05-22 15:32:57 -05:00