Commit Graph

377 Commits

Author SHA1 Message Date
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 bcd88c719e
Register as a contribuor 2020-05-31 19:05:01 +02:00
Larry Li 62d56d83ae Merge branch 'master' of github.com:antlr/antlr4 into dart-clean 2020-05-25 21:01:46 +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
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
Moses Paul R 56c800f619
Update contributors.txt 2020-05-06 13:32:40 +05:30
Tristan Swadell 69ba58ecbe Thread-safe ANTLR Go codegen 2020-05-01 01:57:54 -07:00
Martin van Wingerden e3ccb3e850
Update contributors.txt 2020-04-23 10:42:08 +02:00
Adam Grabski f88aff05da
Merge branch 'master' into patch-1 2020-04-12 19:22:32 +02:00
Adam Grabski 48dff06b8e
Update contributors.txt 2020-04-10 16:42:51 +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 db4e0252de
Signed contributors.md 2020-04-08 16:53:54 +02:00
Song Yang bc79e22297 Sign contributors.txt 2020-03-17 16:10:35 -04:00
Daniel Pitts ccc79bb883 Add myself to the contributors. 2020-02-21 19:02:56 -08:00
Nathanael Demacon f2830be501
Update contributors.txt 2020-02-17 11:13:22 +01:00
julibert 4a4fc30153
Update contributor.txt 2020-02-10 13:53:56 +01:00
Camilo Roca 7fc2180166 contributors.txt signed [skip ci] 2020-02-03 22:52:28 +01:00
Larry Li 46bd9e5569 add dart target 2020-01-19 18:22:06 +11:00
Eason Lin 334e8801c3
Merge branch 'master' into easonlin404-patch-1 2019-12-31 01:35:20 +08:00
Terence Parr 340b95bded
Merge branch 'master' into master 2019-12-15 09:01:48 -08:00
Markus Zancolo 1565143529
Merge branch 'master' into fix/CppEmscripten 2019-12-12 10:56:42 +01:00
Felix N 5be29fd61d
Merge branch 'master' into master 2019-12-09 10:53:50 +01:00
Mark Lilback 3bd5465881
[Swift] fixed compiler warnings about using var instead of let 2019-11-18 13:42:07 -08:00
Felix Nieuwenhuizen 2751841753 Sign contributors.txty
Signed-off-by: Felix Nieuwenhuizen <felix@tdlrali.com>
2019-11-17 14:12:12 +01:00
Gerasimos Dimitriadis 437c5a7b9a
Merge branch 'master' into master 2019-11-14 23:52:19 +02:00
Ben List a06009d72e
Merge branch 'master' into patch-1 2019-11-13 09:04:29 -05:00
liuxinfeng cf0658a6ab update date 2019-11-11 21:39:04 +08:00
jerry_liu fa4b498fc2 Add pretty print AST 2019-11-11 21:33:04 +08:00
Ben List 9d29a1aa1e
Signed contributors.txt 2019-11-06 09:02:51 -05:00
Alexei Averchenko 4f86ad5c17
Merge branch 'master' into master 2019-10-31 18:15:30 +03:00
Tabari Alexander 87a99e558a Signed contributers.txt 2019-10-29 12:11:49 -04:00
Markus Franke 76c0a65d19
Merge branch 'master' into master 2019-10-11 15:24:09 +02:00
Terence Parr 15e6619ddc
Merge branch 'master' into patch-1 2019-10-10 10:43:40 -07:00
Mingyang Liu 294d460aae add to contributor list 2019-09-28 07:57:36 -07:00
Terence Parr 818c6be691
Merge branch 'master' into fix-javascript-hashing-bug 2019-09-22 08:46:37 -07:00
Kazuki Sawada b8ca3d0b14
Update contributors.txt 2019-09-17 23:34:35 +09:00
Sean C. Sullivan bc7690f449 add [sullis] to contributors.txt 2019-09-15 14:23:12 -07:00
Marcos Passos 789d746636 PHP Target 2019-09-14 09:39:58 -03:00
neko1235 f11ce46ddf
Update contributors.txt 2019-09-10 16:08:49 -07:00
Terence Parr e38762e892
Merge branch 'master' into patch-1 2019-09-10 08:19:21 -07:00
Iman Hosseini 3c1231738e
Update contributors.txt 2019-09-10 02:29:13 -04:00
João Henrique ff1283affb General XPath fixes for the Python3 runtime 2019-09-03 19:21:42 -03:00
Markus Franke 97e61c07ca Update contributors file 2019-08-27 13:36:07 +02:00
Eric Vergnaud 0de9612e5d adding original contributor 2019-08-24 02:10:12 +08:00
Eason Lin 0fa34a9621
sign contributors.txt 2019-08-12 18:06:56 +08:00
thron7 ca5b581c1f
Update contributors.txt 2019-08-02 11:57:49 +02:00
Braavos c3c52bb2b5
Test cases
https://github.com/antlr/antlr4/pull/2571
2019-07-26 08:50:14 +01:00
Abhijith Neil Abraham 851f02b5da
Update contributors.txt 2019-07-16 11:23:46 +05:30
olowo726 06cee866d2 Made converters thread_local instead of local to function for performance 2019-07-11 19:20:20 +02:00
Abhijith Neil Abraham d47538d038
Update contributors.txt 2019-07-08 11:58:25 +05:30
Terence Parr aa51ef297a
Merge branch 'master' into master 2019-06-23 15:45:10 -07:00
Massimo Santini f6f265408a
Adding myself
Added my info as per pull request #2552 (I did just because it was requested, feel free to remove my info if you think is more appropriate due to the minimal patch I'm submitting).
2019-05-13 16:24:40 +02:00
Andy Collins be993de7d9 syntax highlighting for csharp language target doc 2019-05-02 20:44:28 -05:00
Alexei Averchenko d0f0ef12fd Signed contributors.txt 2019-04-09 09:24:08 +03:00
Carlo ad2ea7a68c
Update contributors.txt 2019-03-18 18:07:20 +01:00
Justin Thomas 6ee94ed5b9
Adding base698 to contributors.txt 2019-03-13 09:42:52 -07:00
Gerasimos Dimitriadis d69e7c4d0f Avoid double deletion when NoViableAltException is thrown
When ownership of the configurations set is passed to a NoViableAltException,
it get deleted more than once if the exception happens to get copied.
2019-02-23 20:31:19 +02:00
Ralu 510e3f7ed9
Update contributors.txt 2019-02-06 10:50:59 +01:00
Markus Zancolò 4fec5f9f7c fix cpp cmake for emscripten
Emscripten can do C++11. added it to the compilercheck in CMakeLists
2019-01-16 14:55:03 +01:00
wkhemir ecacfa09de
Merge branch 'master' into catch-codegen-error-python 2019-01-03 15:41:12 -05:00
Wail Khemir 3cd2878b28 Fix code generation for catch statements in python 2019-01-03 15:26:47 -05:00
You Kaichao 157afd1a8d update code on updated master 2019-01-02 19:06:36 +08:00
Alexey Khoroshilov f73ae702f2 LexerATNSimulator: avoid repeatable import of Lexer
Importing module is quite expensive operation for using it
in a lexer during normal operations.

The patch avoids it by caching the required properties
in LexerATNSimulator object.

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
2019-01-01 15:18:46 +03:00
WalterCouto 27c8eb5c6a C++: fix bug in PredictionContext::mergeArrays
In the orignal PredictionContext::mergeArrays there was a bug on Line 281 where the logic differs from java: It currently is:
bool both$ = payload == EMPTY_RETURN_STATE && a_parent && b_parent;
and should instead match java as:
bool both$ = payload == EMPTY_RETURN_STATE && !a_parent && !b_parent;
2018-12-20 10:07:59 -05:00
Terence Parr 96890a3505
Merge branch 'master' into patch-1 2018-12-17 15:40:30 -07:00
ralf 80230131ac added virtual dtor to polymorphic class template ParseTreeProperty and added myself as contributor 2018-11-29 11:03:49 +01:00
Alex Mykyta 2a3530f513 Fix install dependency for python3.4
Add install dependency for "typing" backport if using anything older than Python3.5
2018-11-15 20:15:39 -08:00
nxtstep 36621bda6d
Fix ST4 Snapshot dependency 2018-11-15 00:13:02 +01:00
Terence Parr 11d601348e
Merge pull request #2280 from solussd/master
File path handling fixes
2018-11-13 13:27:52 -08:00
Joe R. Smith 61d8aea398
Merge branch 'master' into master 2018-11-13 10:57:42 -06:00
Steve Vinoski 875aa034d2 Add const accessors to antlrcpp::Any C++ class
To make it easier to work with the const antlrcpp::Any arguments to
the AbstractParseTreeVisitor class aggregateResult and
shouldVisitNextChild functions, add a public const overload for the
antlrcpp::Any::as member function to return a const StorageType&, and
add a public const overloaded conversion operator returning a const
instance of the type contained within the Any.

Add the private antlrcpp::Any::getDerived function to avoid
duplicating the dynamic_cast of the internal pointer, and call it from
the overloaded Any::as functions and also the Any::is function.
2018-11-12 15:25:30 -05:00
Sergey Chupov 9321b6bb97
Update contributors.txt 2018-11-12 11:01:18 +02:00
Sergey Chupov a3e7099dac
Merge branch 'master' into patch-1 2018-11-12 11:00:48 +02:00
Terence Parr b06169c785
Merge branch 'master' into antlr_clang_patches 2018-11-11 09:26:42 -08:00
Terence Parr 7ef7770db1
Merge branch 'master' into master 2018-11-11 09:25:33 -08:00
Sönke Schau 444fe24bb0
Merge branch 'master' into master 2018-11-11 13:21:57 +01:00
Terence Parr 07cb53b0ff
Merge branch 'master' into make-exit-rule-non-virtual 2018-11-10 08:54:00 -08:00
Terence Parr 25b30623c0
Merge branch 'master' into master 2018-11-08 13:46:09 -08:00
Terence Parr 941ae184ad
Merge branch 'master' into patch-2 2018-11-08 13:22:04 -08:00
Terence Parr a9eb18c921
Merge branch 'master' into master 2018-11-08 13:18:43 -08:00
Joe R. Smith 25f178b844
Merge branch 'master' into master 2018-11-06 15:37:20 -06:00
Christopher C. Aycock 0a1b3c7df6 Improved ExternalAntlr4Cpp and added CMake option for static CRT (Fixes #1872) 2018-10-29 17:20:24 -04:00
Terence Parr 696f9b93df
Merge branch 'master' into master 2018-10-23 08:35:10 -07:00
Edir Garcia Lazo 0af9611215 Properly build and pass in decisionToDFA 2018-10-18 11:16:55 -07:00
Andreas Skaar 8b458f85c0 Update contributors.txt
sign of contributors.txt
2018-10-08 22:15:05 +02:00
Terence Parr d86365d0d6
Merge branch 'master' into cpack 2018-09-05 13:08:32 -07:00
ENDOH takanao 411960b187 remove double dots in the filename
some tools are can not handling files that have double dots in the filename
2018-08-03 16:16:04 +07:00
Lucas Henrique 3893557fa1
Signing the the contributors.txt file 2018-07-31 15:08:16 -03:00
Maksim Novikov ad603efe91 Add StdninStream for python3 runtime. Closes: #2271 2018-07-27 20:37:34 +02:00
Terence Parr 7bd2c3fbe1
Merge branch 'master' into fix-js-examples 2018-07-24 12:59:53 -07:00
Terence Parr 7dbc5ddc15
Merge branch 'master' into master 2018-07-24 12:59:04 -07:00
Terence Parr 73170a2076
Merge branch 'master' into master 2018-07-24 12:57:38 -07:00
Terence Parr 04f6924299
Merge branch 'master' into master 2018-07-24 12:55:34 -07:00
Terence Parr 171ef99e04
Merge branch 'master' into master 2018-07-13 17:44:53 -07:00
James Goppert f09f0ffbc2 Sign contributors. 2018-07-03 20:24:13 -04:00
吴晟 Wu Sheng 65991784ca
Update contributors.txt
Sign contributors.txt
2018-06-27 14:43:20 +08:00