Commit Graph

7630 Commits

Author SHA1 Message Date
Pablo Blanco Celdrán 739cb0b668
Merge branch 'master' into master 2020-06-06 19:59:20 +02:00
Terence Parr 0b35a76e9b
Merge pull request #2833 from d-markey/master
Avoid stepping through ANTLR generated code when debugging (C#)
2020-06-06 09:51:12 -07:00
irabeson 3c0dbd83dd [C++ runtime] Optimizations of Vocabulary::fromTokenNames
This commit doesn't change the behavior, it contains few small improvements:
- prevent useless copy when creating the variable tokenName
- avoid to check if tokenName is empty twice
- use std::string::empty() instead of creating an empty string to compare with
- use std::string::clear() instead of assigning an empty C string to clear a string
2020-06-04 23:25:12 -04:00
Pablo Blanco Celdrán e7a10a070a Fixed deprecation warning for CPP targets > 17 2020-06-04 15:55:39 +02:00
Kilian Kilger 88dffba62e Improve coding style of auto usages 2020-06-03 20:48:19 +02:00
David MARKEY 2191c38619
Prefer "DebuggerNonUserCode" 2020-05-31 23:27:42 +02:00
David MARKEY 4cfbe5bd78
Update CSharp.stg 2020-05-31 19:07:13 +02:00
David MARKEY bcd88c719e
Register as a contribuor 2020-05-31 19:05:01 +02:00
Larry Li 55e55a0d4b Update docs for creating a target 2020-05-31 00:52:57 +10:00
Larry Li 150ecabfff Add docs for Dart target 2020-05-31 00:35:07 +10:00
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
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
Terence Parr 8c50731894
Merge pull request #2772 from carocad/cyclic-import
Javascript: fix some cyclic dependencies
2020-04-17 09:03:54 -07: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
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
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