Commit Graph

6940 Commits

Author SHA1 Message Date
parrt e37c9fb7ed add anaconda3 to search path. 2018-11-07 12:56:03 -08:00
parrt 1eca79ec3a update python from 3.5 to 3.6 2018-11-07 12:39:30 -08:00
Terence Parr 73836edf1f
Merge pull request #2388 from chrisaycock/cmake-update
Improved ExternalAntlr4Cpp and added CMake option for static CRT (Fixes #1872)
2018-10-30 17:04:00 -07:00
Christopher C. Aycock 5a7912abde Parenthetical spacing in CMake files is more consistent 2018-10-30 12:48:58 -04:00
Christopher C. Aycock 4285979cad Fixed file name managling and added ability to list zip file 2018-10-30 01:42:47 -04: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 03a0a40835
Merge pull request #2373 from renatahodovan/parser-import
[Python3] Fix the import of parser superclasses.
2018-10-08 12:35:48 -07:00
Terence Parr 3ed96431b3
Merge pull request #2374 from renatahodovan/lexer-super
[Python] Add missing lexer super class imports.
2018-10-08 08:33:25 -07:00
Renata Hodovan 301ac82631 [Python] Add missing lexer super class imports.
Although, both lexer and parser grammars can have a custom super
class set, but only the generated parser sources were prepared to
import these classes. The patch makes custom lexer ancestor
classes imported, too.
2018-10-08 14:42:30 +02:00
Renata Hodovan b748545707 [Python3] Fix the import of parser superclasses.
Until now, the generated Python3 code imported the custom parser
superclasses relatively. However, this only worked in Python3 if
the module was inside a package, since relative imports rely on
__name__ to determine the current module's position in the package
hierarchy. In case of a standalone script, this was always __main__
and hence these relative imports failed.
The patch handles this issue them same way as it is handled by
listener imports.
2018-10-08 13:59:57 +02:00
Terence Parr 432022fc1c
Merge pull request #2322 from jgoppert/cpack
Add support for cpack.
2018-09-05 13:08:41 -07:00
Terence Parr d86365d0d6
Merge branch 'master' into cpack 2018-09-05 13:08:32 -07:00
Terence Parr d49f95fb68
Merge pull request #2341 from michilu/remove-double-dots-in-the-filename
Remove double dots in the filename
2018-09-05 13:07:14 -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
Terence Parr 7d0787e29c
Merge pull request #2336 from m-novikov/stdin-stream
Add StdninStream for python3 runtime. Closes: #2271
2018-07-27 17:18:36 -07:00
Maksim Novikov ad603efe91 Add StdninStream for python3 runtime. Closes: #2271 2018-07-27 20:37:34 +02:00
Terence Parr 1375995edb
Merge pull request #2190 from ericvergnaud/fix-#2188
fixes #2188
2018-07-24 15:56:43 -07:00
Terence Parr ad9007664b
Merge pull request #2192 from ericvergnaud/use-csharp-as-main-test-target
Use csharp as main test target
2018-07-24 15:55:16 -07:00
Terence Parr fc01366f35
Merge pull request #2196 from robertbrignull/visit_null_children
JavaScript parse tree visitor: check if ctx.children is non-null in visitChildren
2018-07-24 15:54:06 -07:00
Terence Parr 0d6aebbb8e
Merge pull request #2198 from kasbah/fix-js-examples
fix indentation in javascript target examples
2018-07-24 13:00:31 -07:00
Terence Parr 7bd2c3fbe1
Merge branch 'master' into fix-js-examples 2018-07-24 12:59:53 -07:00
Terence Parr 9ec01b8551
Merge pull request #2216 from razfriman/master
Make C# NuGet package name more visible in runtime docs
2018-07-24 12:59:21 -07:00
Terence Parr 7dbc5ddc15
Merge branch 'master' into master 2018-07-24 12:59:04 -07:00
Terence Parr 4618842cd5
Merge pull request #2292 from sinopsysHK/master
Enable ParserATNSimulator debug mode in Python3 target
2018-07-24 12:58:23 -07:00
Terence Parr 73170a2076
Merge branch 'master' into master 2018-07-24 12:57:38 -07:00
Terence Parr c9df334af8
Merge pull request #2302 from ericvergnaud/python-3-fix-2301
Fixes #2301
2018-07-24 12:56:46 -07:00
Terence Parr 4f75699eeb
Merge pull request #2311 from alecont/master
Updated csharp-target doc
2018-07-24 12:56:02 -07:00
Terence Parr 04f6924299
Merge branch 'master' into master 2018-07-24 12:55:34 -07:00
Terence Parr 400f4bd4d6
Merge pull request #2295 from srvance/master
Update icu4j to resolve CVEs
2018-07-14 08:21:40 -07:00
Terence Parr 171ef99e04
Merge branch 'master' into master 2018-07-13 17:44:53 -07:00
Terence Parr 7c4806bb0b
Update releasing-antlr.md 2018-07-12 09:46:38 -07:00
James Goppert f09f0ffbc2 Sign contributors. 2018-07-03 20:24:13 -04:00
James Goppert ee92d8caf1 Add support for cpack. 2018-07-03 20:21:55 -04:00
Ale Contenti cfd6b7430a
Merge branch 'master' into master 2018-06-16 22:20:42 -07:00
Terence Parr 98dc2c0f02
Merge pull request #2213 from EternalPhane/master
Fix #1855, #2211
2018-06-16 09:58:25 -07:00
Zongyuan Zuo 8dfcf32cfc
Merge branch 'master' into master 2018-06-16 22:12:09 +08:00
Ale Contenti 7ca6d525e6 Updated csharp-target doc
Added a 'using' statement for namespace using Antlr4.Runtime.Tree, so that IParseTree can be found without fully qualified name.
Fixed typo in property Parser.BuildParseTree
2018-06-15 00:02:07 -07:00
Eric Vergnaud d134b6a12d Fixes #2301 2018-06-03 11:21:37 +08:00
Terence Parr 61acb35f0c
Merge pull request #2299 from dhalperi/streamline-java-statics
Java.stg: use static functions instead of inline arrays
2018-06-02 13:00:42 -07:00
Daniel Halperin 2a6a107b49 Java.stg: use static functions instead of inline arrays 2018-05-30 21:17:59 -07:00
Stephen Vance e05a6a6f53 Sign contributors.txt 2018-05-23 09:13:37 -04:00
Stephen Vance 2971f37323 Update icu4j version to address CVEs 2018-05-23 09:01:07 -04:00
sinopsysHK 83273c5e7c Signed contributors.txt 2018-05-17 00:07:15 +08:00
sinopsysHK 58ef6bbc96 Enable running debug mode of ParserATNSimulator
This is to have appropriate logs during debug and avoid crashing in some occasions when startIndex=stopIndex

range(startIndex, stopIndex) is equivalent to an array of values from startIndex to stopIndex-1 thus when startIndex=stopIndex range(startIndex, stopIndex+1) = [startIndex] which is not exactly an interval and would break getText that is expecting an interval as a Tuple.
2018-05-16 23:37:21 +08:00
Terence Parr 8005cfd090
Merge pull request #2288 from johnvanderholt/master
fixed spelling mistake in js docs
2018-05-15 08:36:19 -07:00
john cb70d10a78 added name to contibuters.txt 2018-05-15 13:21:07 +02:00
john d076768dff fixed spelling mistake in js docs 2018-05-15 13:17:23 +02:00
Zongyuan Zuo 2d08b9f414
Merge branch 'master' into master 2018-03-26 20:36:50 +08:00
EternalPhane 8fb3b42ded rewrite with std::is_nothrow_copy_constructible 2018-03-26 20:31:51 +08:00
Terence Parr 6ffc59d63c
Merge pull request #2223 from io7m/master
Add an Automatic-Module-Name
2018-03-18 15:33:40 -07:00