Commit Graph

3326 Commits

Author SHA1 Message Date
parrt 441587e859 add new unit test corresponding to 2e06ed8360 2015-06-16 16:44:02 -07:00
Terence Parr 0ff58068f7 Merge pull request #911 from parrt/mv-javascript-to-new-test-gen
got all tests passing for js and changed order of test gen templates
2015-06-16 16:25:40 -07:00
parrt ad0239fb32 got all tests passing for js and changed order of test gen templates 2015-06-16 16:16:16 -07:00
Terence Parr 21740a48b6 Merge pull request #910 from parrt/mv-python2-to-new-test-gen
got all but 2 tests passing for py2!
2015-06-16 14:53:48 -07:00
parrt 3ddb25919d got all but 2 tests passing for py2! 2015-06-16 14:52:08 -07:00
Terence Parr 7d36891c82 Merge pull request #906 from parrt/mv-python3-to-new-test-gen
got all but 4 tests passing for py3!
2015-06-16 13:34:49 -07:00
parrt fcc15905cc got all but 4 tests passing for py3! 2015-06-16 13:33:58 -07:00
Terence Parr e3dded6ffc Merge pull request #893 from sharwell/test-generation
Completed test generation review
2015-06-16 09:59:24 -07:00
Terence Parr 235d1a9216 Merge pull request #902 from parrt/add-error-nodes
Add error nodes
2015-06-12 17:45:07 -07:00
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 12a36946e8 actually just show text of erroneous token in red in treeviewer. 2015-06-12 17:42:06 -07:00
parrt 8524630c03 show <mismatched actualtokentext> not one of the expected. 2015-06-12 17:42:06 -07:00
Terence Parr 4c132b8a31 Fixes #899. Add error nodes to interpret or parse trees.
Conflicts:
	runtime/Java/src/org/antlr/v4/runtime/ParserInterpreter.java
2015-06-12 17:41:55 -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
Sam Harwell 6865fd6869 Remove files which were unintentionally duplicated in commit 0c7df237 2015-06-06 18:26:17 -05:00
Sam Harwell 4455d526fe Merge branch 'test-generation' into master 2015-06-06 18:15:53 -05:00
Sam Harwell 6159947d8f Add missing comments to FullContextParsing tests 2015-06-06 16:21:52 -05:00
Sam Harwell 364d984437 Verify behavior of CompositeGrammars tests, and correct discrepancies 2015-06-06 16:21:19 -05:00
Sam Harwell 990fd9d811 Verify behavior of LeftRecursion tests, and correct discrepancies 2015-06-06 15:37:36 -05:00
Sam Harwell 2f99ca7453 Add the ability to ignore tests on a per-target basis 2015-06-06 14:30:54 -05:00
Sam Harwell 80a881e132 Disable tests which rely on carriage returns in the input
For some reason, the test generator is not currently able to create string
literals containing these characters, so the tests will fail.
2015-06-06 14:30:17 -05:00
Sam Harwell 12efe2f83b Verify behavior of lexer tests, and correct errors 2015-06-06 14:29:07 -05: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