Peter Boyer
2444386091
Remove JavaScript PORT_DEBUG, re-enable runtime tests for other language targets ( #69 )
...
* Re-enable runtime tests for other language targets
* Fix typo in js code
* Remove PORT_DEBUG statements
* Fix missing
* Fix testAltNum
2016-10-13 17:06:22 -04:00
Peter Boyer
42347c078b
Fix merge failure
2016-10-12 09:53:43 -04:00
Peter Boyer
60662c4b70
Fix remaining tests ( #64 )
...
* Fix pred context typo
* Adjust array lengths
* PositionAdjustLexer test fix first steps
* allow virtual method calls from Lexer
* Hopefully fix issues with dup namedActions
* Make parser members
* Fix testParserProperty
* Fix LeftRecursion test failures
2016-10-12 09:49:42 -04:00
Peter Boyer
499d9d3f89
Print test arrays in java style ( #50 )
...
* Print string rule invocation stack array in java style
* regen runtime tests
* Another array print fix
* Fixes to print array of terminal nodes:
* regen tests
2016-10-05 14:52:42 -04:00
runner
1b2b954500
auto locate go path on the windows
2016-10-01 11:45:28 +08:00
Andreas Jonson
6e780c90bb
update the runtime paths to work in windows
...
the old paths contained a / at the beginning of the path e.g. "/C:/" but the expected path is "C:/" and due to this all test for the targets javascript, python and c# failed on windows.
2016-08-19 23:27:08 +02:00
Peter Boyer
28e013e687
Merge pull request #37 from willfaught/elist
...
Fix LRWithLabelsListener to call EList.String
2016-07-18 09:53:26 -04:00
Peter Boyer
faeb00a682
Merge pull request #38 from willfaught/strings
...
Fix ParserErrors.testContextListGetters to print strings
2016-07-18 09:52:28 -04:00
Will Faught
5feca3e334
Fix ParserErrors.testContextListGetters to print strings
2016-07-06 10:57:37 -07:00
Will Faught
edbf3225ef
Fix LRWithLabelsListener to call EList.String
2016-07-06 10:19:25 -07:00
Will Faught
a05dea54ec
Fix test case build errors
2016-07-06 09:02:42 -07:00
Will Faught
c9ac8a6c61
Generate Go tests
2016-06-16 23:29:10 -07:00
Will Faught
c72ef6383e
Clean up Go test templates
2016-06-16 23:27:47 -07:00
Will Faught
80f99b50da
Fix Property calls in generated Go tests
2016-06-16 23:20:52 -07:00
Will Faught
4e560db250
Fix SetErrorHandler and NewBailErrorStrategy calls in generated Go tests
2016-06-16 23:20:52 -07:00
Will Faught
40b7e1bf12
Fix parser tokens in generated Go tests
2016-06-16 23:20:45 -07:00
Wolfgang Johannes Kohnen
f8f872bfc9
runtime-testsuite/Go: fix recursion
2016-06-06 08:12:50 +02:00
Wolfgang Johannes Kohnen
bf7cc8ce80
runtime-testsuite/Go: Cache Go test environment and make it self-contained.
...
* "go install" the Go runtime inside a temporary GOPATH directory.
* Remove unnecessary GOPATH variable elements.
* Change some instances of stringly typing to strongly typing.
* Remove a few pointless indirections.
* Cleanup erase helper methods, make eraseFiles (eraseDirectory)
static and recursive (used by @AfterClass as well).
* Other minor cleanups.
* => this works on travis now and is about twice as fast! :)
2016-06-05 21:52:53 +02:00
Wolfgang Johannes Kohnen
4fd4e51810
runtime-testsuite/go: Make path construction slightly more robust.
...
* also piggy back a typo fix.
2016-05-28 11:15:14 +02:00
Wolfgang Johannes Kohnen
f2dc9f476b
runtime-testsuite/Go: timeout tests, honour GOROOT
2016-05-27 22:56:56 +02:00
Will Faught
a0314a8946
Change File.separator to File.pathSeparator
2016-05-27 11:26:38 -07:00
Will Faught
7e8fb7a7f3
Handle empty current GOPATH when setting GOPATH
2016-05-27 11:05:16 -07:00
Will Faught
9562d87d49
Change willfaught/antlr4 to pboyer/antlr4
2016-05-26 23:43:43 -07:00
Will Faught
3434e802be
Fix test GOPATH env var to include current GOPATH
...
Also:
- Change "antlr4" imports to "github.com/antlr/antlr4/runtime/Go/antlr"
- Remove parser prefix from Property and pred calls
- Change TParser.X tokens to TParserX
2016-05-26 23:37:25 -07:00
Will Faught
34877767c1
Change package alias antlr4 to antlr
2016-05-26 23:31:19 -07:00
Wolfgang Johannes Kohnen
b6f384bf3c
runtime test/Go: Use $PATH and $GOROOT to find go executable.
2016-05-23 11:11:53 +02:00
parrt
b92f22769e
[maven-release-plugin] prepare for next development iteration
2016-03-30 16:25:49 -07:00
parrt
567fcc6311
[maven-release-plugin] prepare release antlr4-master-4.5.3
2016-03-30 16:25:45 -07:00
parrt
9352c9cf6d
force 3.5 python to see if we can get travis to work.
2016-03-30 11:32:40 -07:00
parrt
9e98714a1d
Add ability to set parse tree internal node super class with option contextSuperClass. Provide impl in Java target that has altNum backing field. Add test across targets to set/get alt num. Fixes #1152 .
2016-03-30 11:00:47 -07:00
parrt
f36e77fc2a
use latest python
2016-03-29 15:33:22 -07:00
Michael Peyton Jones
b1b2579621
Add tests for alternative precedence in left-recursive transformation
2016-02-22 12:49:00 +00:00
parrt
08f3ad798e
[maven-release-plugin] prepare for next development iteration
2016-01-29 15:29:01 -08:00
parrt
c5a296596d
[maven-release-plugin] prepare release 4.5.2
2016-01-29 15:28:57 -08:00
parrt
fa6f674e33
[maven-release-plugin] rollback the release of 4.5.2
2016-01-29 15:27:40 -08:00
parrt
009f3cac3a
[maven-release-plugin] prepare release 4.5.2
2016-01-29 15:27:19 -08:00
parrt
6b31ceaa9d
[maven-release-plugin] rollback the release of 4.5.2
2016-01-29 15:26:02 -08:00
parrt
6b3f9816cb
[maven-release-plugin] prepare for next development iteration
2016-01-29 14:13:15 -08:00
parrt
b446c50722
[maven-release-plugin] prepare release 4.5.2
2016-01-29 14:13:11 -08:00
Peter Boyer
92b8f9f891
Various test fixes
2016-01-19 10:44:16 -05:00
Peter Boyer
86d65cf719
Fix lexer test failures
2016-01-16 17:11:00 -05:00
Peter Boyer
8f70a6f553
Fix test and GetRuleInvocationStack
2016-01-13 21:19:13 -05:00
Peter Boyer
7fc028409e
Fix some more tests
2016-01-12 09:42:29 -05:00
Peter Boyer
7473c21b1e
Even more test fixes yayaya
2016-01-08 16:57:54 -05:00
Peter Boyer
857600be43
Numerous test fixes
2016-01-08 09:28:38 -05:00
Peter Boyer
096f26d3ae
Minor fixes for left recursive rules
2016-01-07 09:46:00 -05:00
Peter Boyer
21999adb6e
Fix a bunch of compiler errors in Go runtime-testsuite
2016-01-06 19:12:37 -05:00
Peter Boyer
81b47eedd7
Various minor fixes
2016-01-05 17:05:12 -05:00
Peter Boyer
960c59e373
Fix more issues in code generation
2016-01-05 12:16:35 -05:00
Peter Boyer
977a1c3ae7
Fix issue with tests
2016-01-05 09:30:28 -05:00