Larry Li
2cb1618009
fix: run dart analyzer against google pedantic
2020-05-29 11:08:55 +10:00
Larry Li
51a9691376
fix: incorrect code generation when there are more than 65 tokens
2020-05-25 23:07:27 +10:00
Larry Li
62d56d83ae
Merge branch 'master' of github.com:antlr/antlr4 into dart-clean
2020-05-25 21:01:46 +10:00
Larry Li
d6a188e4d4
Merge pull request #1 from graknol/dart-clean
...
LargeLexer and Windows support.
2020-05-25 20:09:38 +10:00
Sindre Tellevik
818f6a995a
Update contributors.txt
2020-05-25 11:36:36 +02:00
[OXID-PS] Keywan Ghadami
11775efabf
signing contributer agreement
2020-05-22 00:12:29 +02:00
[OXID-PS] Keywan Ghadami
c40d68f92c
fix composer command in documentation
...
see also https://github.com/antlr/antlr-php-runtime
2020-05-22 00:07:47 +02:00
Martin van Wingerden
37f3aae7cd
Update Swift.stg
...
_localctx is needed as var inside a test
2020-05-21 19:30:15 +02:00
Martin van Wingerden
fde1b3a580
Update Swift.stg
...
Marked `_startState` constant as suggested by validator instead of the incorrect: `_prevctx`
2020-05-21 16:20:00 +02:00
Martin van Wingerden
35c1f1ca6f
Update Swift.stg
...
A recent test/change seems to touch this var, made `_prevctx` a var instead of a let
2020-05-21 16:14:29 +02:00
Martin van Wingerden
b0f65ab5e0
Merge branch 'master' into patch-1
2020-05-17 11:44:16 +02:00
Erik Gomersbach
ce84a9f940
added gomerser to contributors.txt
2020-05-10 22:30:10 +02:00
Erik Gomersbach
52f7b0063c
Added missing swift version of the ParseTreeProperty class
2020-05-10 22:17:30 +02:00
Moses Paul R
56c800f619
Update contributors.txt
2020-05-06 13:32:40 +05:30
Moses Paul R
c67df82a18
Added a link to README.md
...
I thought adding this particular link would increase accessibility
2020-05-06 13:30:00 +05:30
Terence Parr
621b933c7a
Merge pull request #2816 from TristonianJones/export-lexer-set-stream
...
[Go] Thread-safe ANTLR codegen
2020-05-03 12:59:18 -07:00
Tristan Swadell
f17b6b43e3
Remove extant variable
2020-05-01 02:19:58 -07:00
Tristan Swadell
69ba58ecbe
Thread-safe ANTLR Go codegen
2020-05-01 01:57:54 -07:00
Sindre Tellevik
8962fb666a
Suppressed dart execParser debug message.
2020-04-28 07:27:39 +02:00
Sindre Tellevik
187e5bb849
Escaped generic arguments <String> and <DFA>.
2020-04-28 07:27:02 +02:00
Sindre Tellevik
f0f21410a9
Re-enabled test LargeLexer for Dart.
2020-04-27 13:58:42 +02:00
Sindre Tellevik
cc0fe74f0b
Added support for Windows in BaseDartTest.
2020-04-27 13:57:57 +02:00
Sindre Tellevik
67c981621e
Fixed typo in error message.
2020-04-27 13:56:59 +02:00
Martin van Wingerden
e3ccb3e850
Update contributors.txt
2020-04-23 10:42:08 +02:00
Martin van Wingerden
71103fc652
[Swift] Update codegen template
...
Update Swift codegen template to resolve warning:
> Variable '_localctx' was never mutated; consider changing to 'let' constant
> Variable '_parentState' was never mutated; consider changing to 'let' constant
> Variable '_startState' was never mutated; consider changing to 'let' constant
Since there is no path where they can be changed I would say its best to just generate without the warnings.
2020-04-23 10:40:27 +02:00
Terence Parr
8c50731894
Merge pull request #2772 from carocad/cyclic-import
...
Javascript: fix some cyclic dependencies
2020-04-17 09:03:54 -07:00
Adam Grabski
f88aff05da
Merge branch 'master' into patch-1
2020-04-12 19:22:32 +02:00
Terence Parr
7a11432ede
Merge pull request #2797 from deniskyashif/master
...
refactored AntlrInputStream.cs by removing a redundand if-statement
2020-04-11 19:00:49 -07:00
Adam Grabski
48dff06b8e
Update contributors.txt
2020-04-10 16:42:51 +02:00
Adam Grabski
6615eafeb8
Make sample grammar for modes more readable
...
add a new line to the grammar used as an example for the mode changing operators to make the example more accessible
2020-04-10 16:39:17 +02:00
Denis Kyashif
1cb069d10f
refactored AntlrInputStream.cs by removing a redundand if-statement
...
signed contributors.txt
2020-04-08 18:24:58 +03:00
Leon Wehmeier
83dcc58ae6
cpp-target.md: fixed link to "Antlr4 for C++ with CMake: A practical example" blog post
2020-04-08 16:55:38 +02:00
Leon Wehmeier
db4e0252de
Signed contributors.md
2020-04-08 16:53:54 +02:00
Camilo Roca
26715ec6df
fix: cyclic dependency between RuleContext.js, Trees.js and ParserRuleContext.js
...
check for RuleNode instead of RuleContext since that it the only implementation (RuleNode -> RuleContext -> ParserRuleContext)
2020-03-26 21:48:20 +01:00
Terence Parr
a4c66dc863
Merge pull request #2787 from carocad/root-es6
...
Javascript: migrate prototypical root modules to ES6
2020-03-26 10:33:27 -07:00
Terence Parr
4779b8f6e4
Merge pull request #2782 from XsongyangX/master
...
Clarify and expand documentation for runtime ParseTreeWalker
2020-03-22 08:33:52 -07:00
Camilo Roca
091976c497
fix: use prototype for lexer and method for parser
2020-03-20 15:21:57 +01:00
Camilo Roca
1922a3744e
refactored MyRuleNode to use es6 class
2020-03-20 14:52:24 +01:00
Camilo Roca
176f852bf1
refactored AltLabelStructDecl to use es6 class
2020-03-20 13:51:01 +01:00
Camilo Roca
8b7ac991bf
refactored StructDel to use es6 class
2020-03-20 13:46:12 +01:00
Camilo Roca
42b9d8630c
fix: no prototype use inside class definition
...
fix: no need to return this in constructor
2020-03-20 13:45:54 +01:00
Camilo Roca
57b65a1c92
fix: assignment to constant var
2020-03-20 13:36:56 +01:00
Camilo Roca
297bde0926
refactored generated parser and lexer to be es6 classes
2020-03-20 12:42:48 +01:00
Song Yang
0b980e93b3
Change to c++ block comments
2020-03-18 15:10:45 -04:00
Song Yang
bc79e22297
Sign contributors.txt
2020-03-17 16:10:35 -04:00
Song Yang
575271020f
Copy documentation to all non-Java languages
2020-03-17 16:03:29 -04:00
Mark Lilback
719ecdce13
added throws declaration missing from generated swift code
2020-03-16 15:57:31 -04:00
Song Yang
d832f90a70
Correct doc on exitRule
2020-03-16 00:16:03 -04:00
Song Yang
aa9a51a334
Add documentation to ParseTreeWalker
2020-03-15 23:45:40 -04:00
Camilo Roca
dadd69ef97
refactored Utils.js to use es6 classes
...
use const/let for better scoping
use jsdoc
2020-03-16 00:24:56 +01:00