Commit Graph

6863 Commits

Author SHA1 Message Date
Daniel Clifford 6e213a09c5 Changes to cpp runtime to make antlr work with Chromium build 2018-03-08 14:38:19 +01:00
Terence Parr 30ef969e76
Merge pull request #2177 from mike-lischke/threading-fix
Patch for multi-threaded parsing with the C++ runtime
2018-03-01 09:29:29 -08:00
Terence Parr 7a2b95ab53
Merge pull request #2181 from kbsletten/remove-unused-_loadString-parameter
Remove unused  `_loadString` parameter
2018-02-07 17:45:34 -08:00
Kyle Sletten 6e5155c943
Merge branch 'master' into remove-unused-_loadString-parameter 2018-02-07 09:24:05 -07:00
Terence Parr 4cca8cd68d
Merge pull request #2184 from jkmar/return_result_in_visitor
[Python3] return result instead of None in visitor
2018-01-01 11:34:50 -08:00
jkmar 6326725270 [Python2] return result instead of None in visitor 2018-01-01 20:29:40 +01:00
jkmar dfba8c68db [Python3] return result instead of None in visitor 2017-12-27 22:22:49 +01:00
Kyle Sletten 8fadd61f43
Sign contributers.txt 2017-12-20 11:42:10 -07:00
Kyle Sletten a7f3efb7eb
Remove unused parameter in `_loadString`
The usage of this method was removed in commit 51edf3cece, but the parameter remained.
2017-12-20 11:39:57 -07:00
parrt 74779f334a tweak comment to be consistent with code. Fixes #2172 2017-12-19 12:33:09 -08:00
Mike Lischke ceb4ca7ce7 Merge branch 'master-upstream' 2017-12-14 13:26:02 +01:00
Mike Lischke f17319a9a5 Fixed multi-threading issue in C++ runtime.
The shared s0 state in a DFA was deleted when setting a new one (from the DFA entries possibly). That could led to a situation where a valid reference was deleted, even though it's still needed.

Additionally fixed some formattings and updated the XCode projects in the demo.
2017-12-14 13:25:12 +01:00
parrt ba47b092e9 update setup.py to use setuptools not distutils (Python 3) 2017-12-10 12:32:52 -08:00
parrt d674274f99 update setup.py to use setuptools not distutils 2017-12-10 12:28:05 -08:00
parrt e0aa817929 tweak cutting release doc 2017-12-10 10:53:38 -08:00
parrt 398c018612 tweak doc 2017-12-09 12:19:25 -08:00
parrt 17b6277502 [maven-release-plugin] prepare for next development iteration 2017-12-09 12:04:26 -08:00
parrt bdc05c87be [maven-release-plugin] prepare release 4.7.1 2017-12-09 12:04:17 -08:00
parrt c5cec0397a tweak cutting release doc 2017-12-09 11:27:06 -08:00
parrt 5c112be2ab update release notes auto generator 2017-12-08 13:07:59 -08:00
parrt 763a1242b7 update version number and tweak doc 2017-12-08 12:47:11 -08:00
parrt f113891e06 add script to gen release doc 2017-12-08 11:10:04 -08:00
Mike Lischke baf8b95b1c Updated XCode project + fixed a gotcha in ATNState::removeTransition. 2017-12-08 09:33:33 +01:00
Terence Parr 7259baaf8a
Merge pull request #2151 from davesisson/hidden-tokens
Export GetHiddenTokens routines
2017-12-07 09:55:05 -08:00
Terence Parr 5987936a86
Merge pull request #2150 from davesisson/trees
Fix issue with tree finding when the underlying slice needs to be resized.
2017-12-07 09:54:52 -08:00
Terence Parr c349ba3c8a
Merge pull request #2149 from davesisson/master
Changed rotation to support 32 and 64-bit architectures as noted in issue #2060.
2017-12-07 09:54:42 -08:00
Terence Parr a4a14213f9
Merge pull request #2146 from parrt/case-insensitivity-doc
Case insensitivity doc
2017-12-06 13:19:01 -08:00
parrt ab623a1867 Merge branch 'master' into case-insensitivity-doc 2017-12-06 12:36:23 -08:00
Terence Parr 489a11b7a2
Merge pull request #2066 from KvanTTT/unreachable-tokens
New unreachable token value warning
2017-12-06 12:35:53 -08:00
parrt 4763949d42 pull in additions by Sebastian Lang 2017-12-06 12:23:43 -08:00
parrt 846c7dafda pull in additions by Sebastian Lang 2017-12-06 12:22:11 -08:00
Sebastian Lang 1af14fb287 Add CaseChangingCharStream that converts symbols to upper or lower case 2017-12-06 12:20:46 -08:00
David Morais Ferreira 87ea4c4862 pull in contrib 2017-12-06 12:20:33 -08:00
parrt 55d1a94afb Merge branch 'master' into case-insensitivity-doc 2017-12-06 12:16:11 -08:00
Terence Parr 864f8fc49a
Merge pull request #2141 from oranoran/lexer-atn-prop
[JavaScript] enable auto-suggest engines by exposing the lexer ATN as a property, similar to the parser ATN
2017-12-06 12:10:50 -08:00
Terence Parr dd4a1c8709
Merge branch 'master' into lexer-atn-prop 2017-12-06 12:10:14 -08:00
parrt 134d485676 fix js syntax error 2017-12-06 12:07:59 -08:00
David Sisson a2bfeeb760 update tests too 2017-12-06 11:27:52 -08:00
David Sisson b66cc174b9 Export GetHiddenTokens routines. 2017-12-06 11:25:42 -08:00
David Sisson 1e1e132a91 Fix issue with tree finding when the underlying slice needs to be resized. 2017-12-06 11:22:22 -08:00
David Sisson 2d71d94386 Updated formatting. 2017-12-06 11:04:31 -08:00
David Sisson 7e39515dfe Changed rotation to support 32 and 64-bit architectures as noted in issue #2060. 2017-12-06 11:01:19 -08:00
David Sisson a9e6d0c15d Merge branch 'master' of https://github.com/antlr/antlr4 2017-12-06 10:23:28 -08:00
parrt c099d91980 fix js syntax error 2017-12-06 09:35:36 -08:00
parrt 2fd1f9a11c add links to new source code 2017-12-05 15:30:45 -08:00
parrt 634b75acb9 add in JavaScript case insensitive stream from bramp 2017-12-05 15:29:11 -08:00
Andrew Brampton 8d2975fc99 [Javascript] Add a case insensitive input stream. 2017-12-05 15:28:20 -08:00
parrt d3a7fe37ff add in Go case insensitive stream from bramp 2017-12-05 15:27:55 -08:00
Andrew Brampton 21de2317fa [Go] Add a new CharStream that converts the symbols to upper or lower case.
This is useful for many of the case insensitive grammars found at https://github.com/antlr/grammars-v4/
which assume the input would be all upper or lower case. Related discussion can be
found at https://github.com/antlr/antlr4test-maven-plugin/issues/1
2017-12-05 15:27:06 -08:00
parrt ce8b4ae523 add in java case insensitive stream from bramp 2017-12-05 15:22:11 -08:00