Commit Graph

3265 Commits

Author SHA1 Message Date
ericvergnaud 707dbb9f8f fix failing test generation
wrong rule was called
2015-06-22 12:13:56 -07:00
Terence Parr 5c52288845 use template name that indicates what we're testing here. AssertIsList(v). 2015-06-22 11:03:22 -07:00
Terence Parr 0330cee319 Use separate actions to get actions on line by themselves. 2015-06-22 10:58:17 -07:00
Terence Parr 162c6138a5 rm unused template 2015-06-20 12:21:51 -07:00
Terence Parr 82d0cbc3f6 add missing template 2015-06-20 11:59:44 -07:00
Terence Parr 7f22155900 Tweak package for Python support code. 2015-06-20 11:25:03 -07:00
Terence Parr 0f1516b798 Add missing copyright notices. Improve comments. Construct new temporary parsers of the same class as the original parser. a rename. 2015-06-19 13:41:31 -07:00
Terence Parr 8059431475 Merge pull request #923 from sharwell/rm-iml
Remove the three remaining .iml files
2015-06-19 13:01:20 -07:00
Sam Harwell 560b2b428e Remove the three remaining .iml files 2015-06-19 14:59:39 -05:00
Terence Parr c91ce731d2 improve gitignore 2015-06-19 12:28:05 -07:00
Terence Parr 4115a0ad47 Merge pull request #913 from sharwell/fix-909
Move TestPerformance.testExpressionGrammar to the runtime test suite
2015-06-19 12:11:12 -07:00
Terence Parr e8c6b32283 Merge pull request #921 from jvanzyl/master
Use variable for project version
2015-06-19 11:25:53 -07:00
Jason van Zyl cfc10cef11 Use variable for project version
Thanks to @sharwell for catching this.
2015-06-19 14:24:50 -04:00
Terence Parr f661f41071 Merge branch 'jvanzyl-master' 2015-06-19 11:21:17 -07:00
Jason van Zyl 8beec18283 Add Maven build
Account for the following:
- deploying snapshots to OSSRH
- releasing to Maven Central
- Shaded JAR including the treelayout dependency
- OSGi manifest
- remove Eclipse IDE metadata for clean import
- remove IDEA IDE metadata for clean import
2015-06-19 11:13:24 -07:00
Terence Parr 2267559550 yet more ide .xml changes 2015-06-19 11:10:42 -07:00
Terence Parr 74fbf38ce7 make Predicate consistent with java 8 2015-06-19 11:06:06 -07:00
parrt 55a33fb45d add missing 2015-06-19 08:46:11 -07:00
Terence Parr e9d62bb231 Merge pull request #918 from parrt/add-heavy-interp-tests-and-support
add tests, refactor get-all-parse-tree stuff. add Trees support routines
2015-06-18 17:27:11 -07:00
parrt a9ca2efae5 add tests, refactor get-all-parse-tree stuff. add Trees support routines. 2015-06-18 17:25:51 -07:00
parrt e0c6210d22 added a comment and removed redundant array creation from varargs. 2015-06-18 13:40:48 -07:00
parrt b742bbdaf4 Merge branch 'master' of github.com:antlr/antlr4 2015-06-18 13:35:53 -07:00
Terence Parr 35794c431c Merge pull request #917 from antlr/enable-one-shot-tests-generation
added -root parameter to generate all targets
2015-06-18 13:34:38 -07:00
ericvergnaud 4499344985 added -root parameter to generate all targets 2015-06-19 02:10:19 +08:00
Terence Parr 4e11aa2d25 Revert "refactor tokens.size() to be size()"
This reverts commit dc150f4aa2.
2015-06-18 10:44:37 -07:00
Terence Parr fcae921e61 Merge pull request #916 from parrt/master
small improvements for trees
2015-06-18 10:35:52 -07:00
Terence Parr 5f2ce89ea3 improve robustness 2015-06-18 10:34:03 -07:00
Terence Parr 7e8a7bac84 Improve tree highlighting 2015-06-18 10:33:33 -07:00
Terence Parr 4c063ee769 Merge pull request #915 from parrt/master
Small refactoring for flexibility of subclasses (token stream, tree view)
2015-06-18 10:25:07 -07:00
parrt dc150f4aa2 refactor tokens.size() to be size() 2015-06-18 10:23:12 -07:00
parrt 0e692ed436 allow users to override the TreeLayoutAdaptor 2015-06-18 10:23:12 -07:00
Terence Parr a319ea4b3e Merge pull request #914 from parrt/add-heavy-parser-interpreter
add new interpreter that knows how to track alternatives in rule nodes
2015-06-18 10:01:27 -07:00
Terence Parr 1c19c70307 convert map to int[][] 2015-06-18 10:00:32 -07:00
Terence Parr 204cf12e86 mv latch check for speed. 2015-06-18 09:56:53 -07:00
parrt 11726e072e update the comments. 2015-06-17 18:30:29 -07:00
parrt 94bef386cb add new interpreter that knows how to track alternatives in rule nodes; some cleanup and improvement to other interpreter 2015-06-17 18:06:22 -07:00
parrt 4bee04f114 I do not properly add the unit test 2015-06-17 17:45:14 -07:00
Sam Harwell 3c9aabfb80 Move TestPerformance.testExpressionGrammar to the runtime test suite
Fixes #909
2015-06-16 20:23:44 -05:00
Terence Parr 591dca76af Merge pull request #912 from parrt/add-TokenMismatch2-test-using-new-mechanism
add new unit test TokenMismatch2
2015-06-16 16:45:01 -07:00
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