Commit Graph

4687 Commits

Author SHA1 Message Date
Will Faught 6515a84d63 Change generated file header to full sentence 2016-05-31 19:09:40 -07:00
Peter Boyer a0fd4a7675 Merge pull request #17 from wjkohnen/issue16
Sort values of BitSet.
2016-05-31 17:13:32 -04:00
Wolfgang Johannes Kohnen 950acca7c0 Sort values of BitSet.
* Fixes pboyer/antlr4#16
2016-05-31 17:13:01 +02:00
Peter Boyer 6abe69f6e2 Merge pull request #15 from wjkohnen/timeout2
runtime-testsuite/Go: timeout tests, honour GOROOT
2016-05-31 09:25:29 -04: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
Peter Boyer 439a3b7868 Merge pull request #12 from wjkohnen/travis
travis: install Go 1.6.2
2016-05-27 16:26:12 -04:00
Peter Boyer 6ddc7c9d4f Merge pull request #9 from willfaught/master
Test fixes
2016-05-27 15:33:29 -04:00
Peter Boyer 207d638274 Merge pull request #11 from wjkohnen/emptysctx
runtime/Go semantic context: NewAND, NewOR create empty operands
2016-05-27 15:27:35 -04:00
Wolfgang Johannes Kohnen 6500b59e42 travis: Use gimme instead of curl, because we're netizens. 2016-05-27 21:24:26 +02:00
Will Faught a0314a8946 Change File.separator to File.pathSeparator 2016-05-27 11:26:38 -07:00
Wolfgang Johannes Kohnen 781aac7897 travis: install Go 1.6.2 2016-05-27 20:08:06 +02:00
Will Faught 7e8fb7a7f3 Handle empty current GOPATH when setting GOPATH 2016-05-27 11:05:16 -07:00
Wolfgang Johannes Kohnen 0b0d202c49 runtime/Go semantic context: NewAND, NewOR create empty operands 2016-05-27 18:14:18 +02:00
Will Faught 9562d87d49 Change willfaught/antlr4 to pboyer/antlr4 2016-05-26 23:43:43 -07:00
Will Faught 8d863ea19c Change antlr/antlr4 to willfaught/antlr4 2016-05-26 23:38:51 -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
Will Faught 92793a9dc8 Rename "this" receiver to "t" 2016-05-26 23:28:27 -07:00
Will Faught 10eb1a1970 Rename Lexer.mode to setMode
Also minor formatting.
2016-05-26 23:27:45 -07:00
Peter Boyer 128ec07dd3 Merge pull request #4 from willfaught/master
Simple clean up
2016-05-27 02:01:23 -04:00
Will Faught 1208f97696 Rename Go files back to snake case 2016-05-26 12:00:40 -07:00
Will Faught b503116e12 Move runtime/Go/src/antlr to runtime/Go/antlr 2016-05-26 11:51:28 -07:00
Will Faught fe1d61d9db Merging 2016-05-26 11:40:02 -07:00
Will Faught 103dc662c4 Fix "misMatched" 2016-05-26 11:35:49 -07:00
Will Faught 08c17b850e Rename Go files back to camel case 2016-05-26 11:32:45 -07:00
Will Faught bf88d2747c Move runtime/Go/antlr to runtime/Go/src/antlr 2016-05-26 11:26:03 -07:00
Will Faught 7080d04662 Export LL1Analyzer.look 2016-05-25 20:16:22 -07:00
Will Faught a20b1abb97 Change generated Go code to import Go runtime from github.com 2016-05-25 20:10:32 -07:00
Peter Boyer 31d21ff4db Update templates 2016-05-25 17:20:38 -04:00
Peter Boyer ed5b4d14f7 antlr4 -> antlr 2016-05-25 17:20:16 -04:00
Peter Boyer 99d6b812c1 Remove test code 2016-05-25 10:22:13 -04:00
Peter Boyer b93bdc33a1 Merge pull request #5 from wjkohnen/find-go
Use $PATH to find go executable.
2016-05-25 10:13:44 -04:00
Peter Boyer 220439ac72 Merge pull request #6 from wjkohnen/fix-misMatched
Go runtime: Change misMatched to mismatched.
2016-05-25 10:12:44 -04:00
Wolfgang Johannes Kohnen 7652b9af79 Go runtime: Change misMatched to mismatched.
That seemed to be a find/replace accident. Apparently this change turns
the tests ...

 * testTokenMismatch
 * testTokenMismatch2
 * testNoViableAltAvoidance
 * testNoViableAlt
 * testExprAmbiguity_2

... to green. Although I am not sure about testExprAmbiguity_2 as that
one doesn't have mis[Mm]atched in its output AFAICS.
2016-05-23 11:26:34 +02:00
Wolfgang Johannes Kohnen b6f384bf3c runtime test/Go: Use $PATH and $GOROOT to find go executable. 2016-05-23 11:11:53 +02:00
Will Faught 90ac6c0f63 Change "a" back to "this" in comment 2016-05-21 17:08:48 -07:00
Will Faught b4da149732 Lint: Remove underscores from names 2016-05-21 01:02:49 -07:00
Will Faught 71dba8cb91 Lint: Change all caps "LOOK" in names to camel case 2016-05-21 00:27:51 -07:00
Will Faught 29b6530a2b Lint: Omit redundant declaration types 2016-05-21 00:22:54 -07:00
Will Faught 5c4e28487e Lint: Replace -= 1 with -- 2016-05-21 00:22:54 -07:00
Will Faught c81f2a7901 Lint: Drop nil declaration assignments 2016-05-21 00:18:15 -07:00
Will Faught 056f3f62c1 Lint: Rename initialisms to uppercase 2016-05-21 00:13:27 -07:00
Will Faught 26df617532 Lint: Outdent else blocks for if blocks that return 2016-05-21 00:05:40 -07:00
Will Faught 33fd68778e Lint: Replace += 1 with ++ 2016-05-20 23:44:36 -07:00
Will Faught 9ed1ed1003 Lint: Use uniform receiver names 2016-05-20 23:41:06 -07:00
Will Faught 8a1b68feb4 Lint: Omit unused second range var 2016-05-20 23:27:24 -07:00
Will Faught 3b742ed8cb Lint: Rename generic "this" var 2016-05-20 23:25:05 -07:00
Will Faught 5361aedc0b Vet 2016-05-20 18:52:08 -07:00
Will Faught 21fa2d1310 Format 2016-05-20 18:52:08 -07:00