Commit Graph

6846 Commits

Author SHA1 Message Date
Daniel Halperin 2a6a107b49 Java.stg: use static functions instead of inline arrays 2018-05-30 21:17:59 -07: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
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
Oran Epelbaum e22fbbcce8 [JavaScript] Added atn property to generated lexers, similarly to generated parsers. 2017-12-03 12:42:33 +02:00
Nicolas 83e29ed9ca Merge branch 'Issue160_import_lexer_grammars' of https://github.com/niccroad/antlr4 into Issue160_import_lexer_grammars 2017-12-01 21:30:11 +13:00
Nicolas 0301bb946c Add a test case for importing modal lexers into a composite grammar. The
test case demonstrates an error is produced (due to importing modes into a
composite grammar).
2017-11-30 23:24:11 +13:00
Terence Parr fa7868002e
Merge branch 'master' into Issue160_import_lexer_grammars 2017-11-29 10:00:28 -08:00
Terence Parr edcf275a3c
Merge branch 'master' into Issue160_import_lexer_grammars 2017-11-29 09:59:50 -08:00
Terence Parr e8dd80523e
Merge pull request #2126 from ewanmellor/generator-access-levels
Add an accessLevel parser option.
2017-11-29 09:56:24 -08:00
Terence Parr b5e6147cd5
Merge pull request #2123 from ewanmellor/swift-fix-parse-cancellation
[Swift] Fix parse-cancellation in BailErrorStrategy.
2017-11-29 09:56:09 -08:00
Terence Parr bd4f1a9365
Merge pull request #2122 from ewanmellor/swift-remove-recognizer-caches
[Swift] Remove Recognizer.tokenTypeMapCache and .ruleIndexMapCache.
2017-11-29 09:55:53 -08:00
Terence Parr 756fcdd5ec
Merge pull request #2121 from ewanmellor/swift-fix-interpreter-dfas
[Swift] Fix initialization of {Lexer,Parser}Interpreter.decisionToDFA.
2017-11-29 09:55:38 -08:00