enessoylu
0668b53083
update license string
2017-12-13 02:14:57 -05: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
Ewan Mellor
35b9bbfe17
[Swift] Minor tidyups in the stream code.
...
No semantic change.
2017-12-08 16:36:00 -08:00
Ewan Mellor
b4f3a619fd
[Swift] Make ATNDeserializationOptions a simple struct.
...
The previous code was ported from Java, which resulted in 70 lines of code
to hold two bools. Use a struct instead.
2017-12-08 16:35:21 -08:00
Ewan Mellor
f8e63d53c5
[Swift] Remove HashMap and fix Parser caches.
...
Remove HashMap, and replace all uses of it with dictionaries. There's
no need for us to have a custom HashMap implementation (mirroring the Java
standard library) when Swift's standard dictionaries work just fine.
Fix Parser.bypassAltsAtnCache. This was declared as a Parser instance
variable, when in the Java runtime it is static (and therefore the cache
outlives the Parser instances). It was also being handled in a
thread-unsafe manner, because the cache was being read outside of the
mutex that was supposed to be protecting it. Fix both issues by moving
the cache and the mutex so that they are static to the Parser module and
rewriting getATNWithBypassAlts.
Remove Parser.decisionToDFAMutex. The Java code uses a synchronized block
on ParserATNSimulator.decisionToDFA, but the translation to Swift had put
a mutex in Parser. The decisionToDFA value is shared between Parser,
ParserATNSimulator, and the generated parser, so a mutex in
ParserATNSimulator isn't blocking all possible accesses, so it's useless.
Since this is only code for debugging anyway, just remove the useless mutex
and simplify getDFAStrings and dumpDFA.
2017-12-08 16:32:51 -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
Andrew Brampton
57151fec98
[Java] Add a new CharStream that converts the symbols to upper or lower case.
2017-12-05 15:19:15 -08:00
parrt
529903a7f6
start on doc for Case insensitive lexing
2017-12-05 15:15:46 -08:00
parrt
a5f47c8c55
start on doc for Case insensitive lexing
2017-12-05 14:53:25 -08:00
parrt
4c3ce09811
start on doc for Case insensitive lexing
2017-12-05 14:51:50 -08:00
parrt
b9adef5878
set version for C# dotnet to 4.7.1.1 for publishing
2017-12-04 14:12:20 -08:00
Terence Parr
91951c1665
Merge pull request #2135 from niccroad/Issue160_import_lexer_grammars
...
This is one implementation addressing issue 160.
2017-12-04 09:38:46 -08:00
Nicolas
d2685bf37f
Add a test case for merging clashing channel names during import.
2017-12-04 17:35:08 +13:00
Nicolas
490cd7068c
Make some changes to the docs for grammars to describe support for lexers
...
containing modes.
2017-12-04 17:25:51 +13:00