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
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
Camilo Roca
5b607b34ba
refactored Token.js to use es6 classes
...
use const/let for better scoping
use jsdoc
2020-03-16 00:16:11 +01:00
Camilo Roca
5baa2326ad
refactored PredictionContext.js to use es6 classes
...
use const/let for better scoping
use jsdoc
2020-03-16 00:08:55 +01:00
Camilo Roca
ee9474b194
refactored RuleContext.js to use es6 classes
...
refactored ParserRuleContext.js to use es6 classes
fix: dont wrap export in object
use const/let for better scoping
use jsdoc
2020-03-15 23:55:05 +01:00
Camilo Roca
4de9e80109
refactored Parser.js to use es6 classes
...
fix: dont wrap export in object
use const/let for better scoping
use jsdoc
2020-03-15 23:38:44 +01:00
Camilo Roca
94ee7cfbf9
refactored LL1Analyzer.js to use es6 classes
...
fix: dont wrap export in object
use const/let for better scoping
use jsdoc
2020-03-15 23:21:44 +01:00
Camilo Roca
ba6b0807c9
todo added due to code warning
2020-03-15 23:14:37 +01:00
Camilo Roca
fd8548acab
fix: dont return this on constructor
2020-03-15 23:14:11 +01:00
Camilo Roca
24ae4274a0
refactored Recognizer.js to use es6 classes
...
refactored Lexer.js to use es6 classes
fix: dont wrap class in object for exporting
use const/let for better scoping
use jsdoc
2020-03-15 22:46:08 +01:00
Camilo Roca
a3c380d7d4
refactored IntervalSet.js to use es6 classes
...
use const/let for better scoping
2020-03-15 16:29:28 +01:00
Camilo Roca
23351cadc4
refactored InputStream.js to use es6 classes
...
refactored FileStream.js to use es6 classes
fix: dont wrap class in an object for export
use const for better scoping
use jsdoc
2020-03-15 16:25:30 +01:00
Camilo Roca
181c44fb11
refactored CommonTokenStream.js to use es6 classes
...
fix: dont wrap class in an object for export
fix: annotate adjustSeekIndex with Number type to avoid warning
use const for better scoping
use jsdoc
2020-03-15 16:10:50 +01:00
Camilo Roca
5f6b7de72d
fix: remove unnecessary return statements
2020-03-15 16:04:28 +01:00
Camilo Roca
b2473f7564
refactored CommonTokenFactory.js to use es6 classes
...
fix: dont wrap class in an object for export
use const for better scoping
use jsdoc
2020-03-15 16:03:41 +01:00
Camilo Roca
2e139f8d08
fix: dont wrap class in an object for export
...
use jsdoc
2020-03-15 15:59:09 +01:00
Camilo Roca
4752ecf521
refactored BufferedTokenStream.js to use es6 classes
...
fix: dont wrap class in an object for export
use const/let for better scoping
use jsdoc
2020-03-15 15:55:15 +01:00
Terence Parr
1284814c21
Merge pull request #2771 from carocad/atn-es6
...
Javascript: migrate prototypical ATN objects to ES6
2020-03-09 09:17:49 -07:00