Commit Graph

4901 Commits

Author SHA1 Message Date
Peter Boyer 7eb6aec612 Add runtime 2016-11-05 12:25:15 -04:00
Peter Boyer 8b67d2418c Move go target docs 2016-11-04 14:36:02 -04:00
Peter Boyer 48e1f060d7 Merge pull request #78 from pemcconnell/master
http:// not allowed in go import path
2016-10-27 19:42:11 -04:00
Peter McConnell 0463e14e55 http:// not allowed in go import path 2016-10-26 14:55:19 +01:00
Peter Boyer adef6f690a Cleanup var statements (#73)
* Cleanup var statements

* Fix type decl
2016-10-17 12:57:26 -04:00
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 5cbc1b0ba8 Merge pull request #67 from pboyer/upstreamMerge
Merge with upstream antlr/antlr4
2016-10-12 10:20:06 -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 145bfca692 Update lexer_action.go (#62) 2016-10-08 23:03:11 -04:00
Peter Boyer 10f15cabf8 errorNode() impl (#59) 2016-10-06 16:19:05 -04:00
Peter Boyer a5859fd54e Fix PredictionContext merge() typo (#61)
* Fix pred context typo

* Adjust array lengths
2016-10-06 16:18:18 -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
Peter Boyer 9b76bc6a71 Update Go.stg 2016-10-05 12:04:01 -04:00
Peter Boyer bb9a08b158 Merge pull request #48 from runner-mei/patch-4
auto locate go path on the windows
2016-10-04 22:13:59 -04:00
runner 1b2b954500 auto locate go path on the windows 2016-10-01 11:45:28 +08:00
Terence Parr e9aa00e05b Merge pull request #1172 from renatahodovan/default-pass
Add missing default pass statements to Python targets.
2016-09-25 11:24:48 -07:00
Terence Parr 5ea09b30f2 Merge pull request #1255 from renatahodovan/pythonic-python
Make Python targets more pythonic.
2016-09-25 11:24:07 -07:00
Renata Hodovan 03d5fb1244 Make Python targets more pythonic.
The Python implementations are completely synchronous
with the Java version even if some of the constructs
can be expressed with simpler Python solutions. These are
typically the all, any, count, next builtins or the list
comprehensions, etc. Beside using them makes the code
clearer, they are also prefered by the standard and can
result in performance speedup. The patch contains such
equivalent transformations in the Python targets.
2016-09-25 10:33:27 +02:00
parrt 0b2d5304a5 tweak links in doc 2016-09-24 11:20:13 -07:00
Terence Parr 683cbee2e7 Merge pull request #1261 from BurtHarris/fixGitignore
Fix .gitignore for codegen/target language directory
2016-09-23 15:24:52 -07:00
Burt Harris 10f5ebe22a Repair comment 2016-09-23 15:02:38 -07:00
Burt Harris 8e44b19ec9 Update .gitignroe fules for VisualStudio etc.
Avoids temp and user-preference files from getting commited
2016-09-23 14:58:21 -07:00
Burt Harris 9a7e0b5e4e Merge branch 'master' into fixGitignore
These are changes from the upstream master.
2016-09-23 14:47:33 -07:00
Burt Harris fdfe97c813 Merge branch 'master' of https://github.com/antlr/antlr4 2016-09-23 13:46:45 -07:00
parrt 2f92b47500 tweak links in doc 2016-09-23 13:19:44 -07:00
Terence Parr 5b461ddd77 Merge pull request #1268 from andjo403/windowsPaths
update the runtime paths to work in windows
2016-09-23 13:12:28 -07:00
Terence Parr 401f53fa3c Merge pull request #1289 from ericvergnaud/docs
Enhancing the doc
2016-09-23 10:11:34 -07:00
Eric Vergnaud d3ceee5043 Enhancing the doc 2016-09-24 00:02:18 +08:00
Peter Boyer c61735ea7e Merge pull request #39 from willfaught/interfaces
Add interface build checks for tree types and generated base listeners
2016-08-22 20:53:48 -04:00
Peter Boyer 982488f6ca Merge pull request #44 from wjkohnen/clasign
Sign CLA.
2016-08-22 20:53:02 -04: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
Andreas Jonson 71a2a1295f 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 22:22:05 +02:00
Burt Harris 89987e3579 + comment in .gitignore 2016-08-11 13:08:02 -07:00
Burt Harris a51b709954 Fix .gitignore for target language directory
Also added .gitignore entries for Node.js & typescript dependency cache directories.
2016-08-11 12:56:34 -07:00
Wolfgang Johannes Kohnen 9371c7900e Sign CLA. 2016-08-08 19:36:00 +02:00
Peter Boyer 4825417cf3 Merge pull request #41 from willfaught/cla
Sign CLA
2016-07-27 09:48:34 -04:00
Will Faught 24a26d90df Sign CLA 2016-07-18 17:20:59 -07:00
Will Faught 7f42bc602b Add interface build checks for tree types and generated base listeners 2016-07-18 12:19:31 -07: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
Peter Boyer 95a93de83c Merge pull request #29 from willfaught/prod-name
Fix test case build errors
2016-07-18 09:51:43 -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
Peter Boyer 53fab2c61c Merge pull request #35 from willfaught/parser-token
Fix build breaks in generated tests
2016-06-30 10:51:34 -04:00
Terence Parr 47e268dfea Merge pull request #1218 from ericvergnaud/python-performance-issue
Python performance issue
2016-06-23 08:54:27 -07:00
Eric Vergnaud 26c409103d Fix #1217
The root cause was that ATNConfigSet was not using he required custom hashing strategy for ParserATNSimulator.
The commit includes a number of additional fixes, related to code that was never executed before due to the root cause.
A similar issue is also likely to exist in the JavaScript runtime, I'll fix it later.
2016-06-23 15:51:39 +02:00
Eric Vergnaud 15430d4bf9 remove unwanted semicolon in generated Python code 2016-06-23 15:06:49 +02:00
Eric Vergnaud c260ce75d1 make it possible to add breakpoint 2016-06-23 15:06:14 +02:00