Commit Graph

1920 Commits

Author SHA1 Message Date
Peter Boyer 6d881c395d Merge pull request #23 from willfaught/fmt
Fix whitespace in generated Go code
2016-06-05 17:49:34 -04:00
Peter Boyer 1bf006bd91 Merge pull request #22 from wjkohnen/predef-idents
tool/Go: Add predefined identifiers to list of keywords.
2016-06-05 14:51:43 -04:00
Will Faught 94ded73cba Change multi-line template signatures into one line 2016-06-04 21:54:59 -07:00
Will Faught a94377d2a5 Add space after commas separating two vars 2016-06-04 21:52:36 -07:00
Will Faught 06e4bb1cd1 Add spaces around template var binder "|" 2016-06-04 21:50:12 -07:00
Will Faught 6a89c4529e Remove line-ending semicolons 2016-06-04 21:47:48 -07:00
Will Faught fc275721b8 Add spaces around == and != 2016-06-04 21:47:14 -07:00
Will Faught d4d46b2930 Combine multiple spaces around ::= into one 2016-06-04 21:44:07 -07:00
Will Faught 4cdc421ce7 Replace 4 spaces with a tab 2016-06-04 21:40:56 -07:00
Wolfgang Johannes Kohnen 696820e2ea tool/Go: Add predefined identifiers to list of keywords. 2016-06-04 13:13:02 +00:00
Wolfgang Johannes Kohnen 4f8951e5ef tool/Go: enable -package option
see antlr/antlr4/issues/1204, pboyer/antlr4/issues/13
2016-06-03 12:20:39 +00:00
Will Faught 52028c52ce Prevent generated file header from being package doc 2016-05-31 19:09:50 -07:00
Will Faught 6515a84d63 Change generated file header to full sentence 2016-05-31 19:09:40 -07: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 b503116e12 Move runtime/Go/src/antlr to runtime/Go/antlr 2016-05-26 11:51:28 -07:00
Peter Boyer 31d21ff4db Update templates 2016-05-25 17:20:38 -04:00
Peter Boyer b10827d91c Cleanup 2016-02-01 11:27:35 -05:00
Peter Boyer e891d55f1b Cleanup 2016-01-29 13:14:22 -05:00
Peter Boyer b2ee7fe532 Allow customization of output file names from tool 2016-01-29 12:21:56 -05:00
Peter Boyer 89f1192cb6 Fixes to Go runtime, tool 2016-01-21 19:31:30 -05:00
Peter Boyer 92b8f9f891 Various test fixes 2016-01-19 10:44:16 -05:00
Peter Boyer c8b73c99ea Fix issue where recovering tests returned nil by using named return value 2016-01-12 23:56:00 -05:00
Peter Boyer da94e5295e Fix some tests 2016-01-12 23:14:38 -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 b53e85afd2 Fix issue with code gen 2016-01-07 17:06:31 -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
Peter Boyer f2852686a7 Some of the runtime-testsuite tests now pass 2016-01-04 14:57:47 -05:00
Peter Boyer fa46c498af Export some additional interface methods, fix issues with ParseTreeWalker, generate base Listener with tool 2016-01-03 22:07:43 -05:00
Peter Boyer 39c1321d40 More, more refactoring cleanup 2015-12-31 17:53:41 -05:00
Peter Boyer ddb296cf01 More refactoring and cleanup 2015-12-31 15:36:56 -05:00
Peter Boyer efa8676211 Go impl emits exact same debug messages as JS impl. Yessss.... 2015-12-29 16:37:17 -06:00
Peter Boyer c08a19233c More bug fixing and debugging 2015-12-28 20:31:56 -06:00
Peter Boyer 1dfc764df7 Fix issues found while debugging 1 2015-12-25 16:10:02 -06:00
Peter Boyer ce20f3ff31 More cleanup to ensure embedded fields are initialized 2015-12-24 17:02:28 -06:00
Peter Boyer 8cba3ecc3a Repair init methods 2015-12-24 15:10:55 -06:00
Peter Boyer 694096d517 Init stuff correctly 2015-12-24 14:56:44 -06:00
Peter Boyer 36ae2795f8 Everything compiles and gens properly for Arithmetic example 2015-12-24 14:49:44 -06:00
Peter Boyer a2e273c5f6 Stub out runtime-testsuite test generator 2015-12-23 18:10:47 -06:00
Peter Boyer d1f4d3171f More refactoring to inject GrammarFileName, LiteralNames... 2015-12-23 11:22:31 -06:00
Peter Boyer f5cf1cbf68 Various refactorings to properly support package export 2015-12-23 11:00:30 -06:00
Peter Boyer d6b1041224 Minor tweaks to template 2015-12-22 18:57:14 -06:00
Peter Boyer bd35305bc8 gofmt all files 2015-12-22 18:53:17 -06:00
Peter Boyer 859df5231c And now all of the changes are commmitted 2015-12-22 16:30:14 -06:00