Commit Graph

6870 Commits

Author SHA1 Message Date
Joseph Smith 2daa261772 Don't generate interpreter data files if gencode is false 2018-04-26 13:06:04 -05:00
Joseph Smith 7e89f26e9b Initialize STGroupFile with url, not file path
- absolute file paths not reliable way to find resources on classpath
- requires changes to ST4 in this PR:
https://github.com/antlr/stringtemplate4/pull/199
2018-04-24 17:43:00 -05:00
Joseph Smith 7e93bf3e09 sign contributors agreement 2018-04-24 07:30:14 -05:00
Joseph Smith 6469934441 revert groupId change 2018-04-24 07:27:26 -05:00
Joseph Smith 8ce79eec81 Ensure file paths passed to STGroup[File] are absolute
- gracefully handle grammars without source fileNames
2018-04-23 18:55:23 -05:00
Terence Parr 6ffc59d63c
Merge pull request #2223 from io7m/master
Add an Automatic-Module-Name
2018-03-18 15:33:40 -07: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
Mark Raynsford 08fd9111fa
Sign contributor agreement 2018-02-11 13:07:51 +00:00
Mark Raynsford b5b3a3c5fc
Add an Automatic-Module-Name
This adds an Automatic-Module-Name entry to the runtime jar in order to
provide a stable name upon which other modules can depend. The module
name chosen was "org.antlr.antlr4.runtime". This closely matches the
Maven artifact name with the obviously change that the module name
doesn't contain a hyphen (hyphens can't be used in module names at
the language level in Java).

Fix #2163
2018-02-11 13:06:19 +00: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