Commit Graph

7903 Commits

Author SHA1 Message Date
Eric Vergnaud 1281fb770e update readme 2021-02-14 00:41:43 +08:00
Oscar Bonilla c0935e190b
Add missing single quote in lexicon.md (#2254) 2021-02-14 00:27:10 +08:00
ericvergnaud 12be1d299d
split appveyor ci (#3082)
* split appveyor ci

* use appveyor matrix

* fix config

* analyze failure

* fix java test job

* troubleshooting

* install node

* troubleshooting

* troubleshooting

* troubleshooting

* troubleshooting

* troubleshooting

* troubleshoot

* troubleshoot

* troubleshoot

* troubleshoot

* troubleshoot

* troubleshoot

* troubleshoot

* almost there!

* full build
2021-02-14 00:11:27 +08:00
ericvergnaud 5719d3496c
Merge pull request #3081 from ericvergnaud/reinstate-php-ci
reinstate PHP ci on circle-ci
2021-02-13 20:19:11 +08:00
Eric Vergnaud bb7e8bae42 reenable all targets 2021-02-13 19:41:41 +08:00
Eric Vergnaud ce3700f3a0 change package 2021-02-13 19:37:17 +08:00
Eric Vergnaud e414c829cf try again 2021-02-13 19:33:14 +08:00
Eric Vergnaud e56f8abf3b getting there 2021-02-13 19:25:18 +08:00
Eric Vergnaud a95897c3fa progressing 2021-02-13 19:19:04 +08:00
Eric Vergnaud 2f12fa2688 add composer 2021-02-13 19:08:10 +08:00
Eric Vergnaud 88b582a73c try again 2021-02-13 19:04:45 +08:00
Eric Vergnaud f670a3944d grrr 2021-02-13 19:00:53 +08:00
Eric Vergnaud 9f03a7f987 try apt update 2021-02-13 18:59:14 +08:00
Eric Vergnaud f13debd885 try hhvm 2021-02-13 18:57:22 +08:00
Eric Vergnaud 6647c6bb0d install php 2021-02-13 18:55:35 +08:00
Eric Vergnaud c0cc0fd8a4 reinstate PHP ci on circle-ci 2021-02-13 17:28:44 +08:00
ericvergnaud 00fbf95183
Merge pull request #3080 from antlr/fix-javascript-semantic-predicates
fix javascript semantic predicates
2021-02-13 17:24:29 +08:00
Eric Vergnaud 94f9759d14 fix #2007 2021-02-13 15:10:17 +08:00
Eric Vergnaud 26291a11d8 align debug output on java 2021-02-13 15:09:52 +08:00
Eric Vergnaud 586721462c Fix #3078 2021-02-13 15:09:34 +08:00
ericvergnaud 9668ce7dbb
Merge pull request #3077 from antlr/fix-javascript-intervalset
Fix javascript intervalset, fix #3075
2021-02-13 11:52:23 +08:00
Eric Vergnaud f0ca1140a7 don't delete symlinks content 2021-02-13 03:31:12 +08:00
Eric Vergnaud e99363ac1a fix typos, fixes #3075 2021-02-13 02:30:50 +08:00
Eric Vergnaud 25196001d7 add test 2021-02-13 02:29:55 +08:00
Eric Vergnaud 64d49cc4d8 add jest for testing 2021-02-13 02:29:35 +08:00
Eric Vergnaud a60c32d369 Fix an issue where test files were not deleted on MacOSX/Swift, leading to disk space issues on further CI builds 2021-02-03 12:38:38 +08:00
Taras Sotnikov f7b4100fcc
Fix TextIO compatibility with Python 3.6+ in LexerFile (#3067)
* Fix TextIO compatibility with Python 3.6+ in LexerFile

* Sign contributors.txt
2021-02-03 09:48:41 +08:00
Ken Domino 4b649103f3
Restructure C# runtime and fix Issue #2693 (#3057)
* Fixes for https://github.com/antlr/antlr4/issues/2693

* Adding script for comparing Java and C# profile output.

* Update lexer grammar.

Tightening up the grammar rules. Still Java9.

* Tighten up grammar.

* Adding in new base classes for C# runtime tests for profiling.

* Complete test for Profile = true.

Update ProfileDescriptor to now parse and output profile. The grammar is asm8080 from grammars-v4, tightened up. The input is the example provided there, truncated to included fewer lines as that causes a null-ptr crash with the older runtime. I verified by modifying the .csproj in /tmp.

* Restructuring the Antlr C# runtime so that it is consistent with all other runtimes, a source directory (now antlr4/runtime/CSharp/src), and a test directory (antlr4/runtime/CSharp). In the test area, I added a test for profiling in issue-2593. This test requires the Antlr tool and Antlr C# tool to be build. The path is assumed in a relative path to the test, ../../../../tool/target/antlr4-*-SNAPSHOT-complete.jar, with globbing performed. The test simply checks the return result, output not important. There are no changes to the runtime C# source files other than placing them under src/. Several other build files were changed to reflect the new location of the Antlr C# runtime. I updated the instructions for users on how to build the runtime, including information on checking the environment--now explicitly specified here so people know what to install!
2021-02-02 09:51:41 +08:00
ericvergnaud e50ecf4961
Sanitize test code base (#3061)
* sanitize test code base and factorize common code

* fix failing tests

* fix failing tests

* fix failing tests
2021-01-29 19:54:59 +08:00
ericvergnaud 62a0b02bf4
Merge pull request #3053 from l215884529/fix-3052
Fix 3052
2021-01-27 20:16:38 +08:00
Kko ac9d62a994 Update contributors.txt
Fix #3052
2021-01-27 15:07:54 +08:00
Kko 8bcc12de28 Fix #3052 2021-01-27 15:07:54 +08:00
ericvergnaud 3c67a9d4ea
Merge pull request #2967 from lingyv-li/patch-1
Include prerequisite documentation to publish Dart target
2021-01-27 14:34:07 +08:00
ericvergnaud be7bc5d81b
Update macosx.yml 2021-01-27 12:15:28 +08:00
ericvergnaud 36bde45396
Update macosx.yml 2021-01-27 10:58:42 +08:00
Eric Vergnaud 68ea904826 change action runner sequence 2021-01-27 10:15:46 +08:00
Eric Vergnaud 2fbc00a8f0 Merge branch 'master' of https://github.com/antlr/antlr4 2021-01-27 10:10:42 +08:00
Eric Vergnaud 59f1f581de reduce noise 2021-01-27 10:10:24 +08:00
ericvergnaud 365a56f10f
Merge pull request #3050 from kaby76/issue-3049
Fix for https://github.com/antlr/antlr4/issues/3049
2021-01-27 01:40:35 +08:00
ericvergnaud f37dfef7e5
Merge pull request #3054 from KvanTTT/MissedVersionInCSharpRuntime
Fix missed version in C# runtime
2021-01-27 01:39:58 +08:00
Eric Vergnaud 5521eb2936 update readme 2021-01-27 01:30:53 +08:00
ericvergnaud 8b05471e6c
Fix NPE (#3056) 2021-01-26 12:58:51 +08:00
ericvergnaud bca2536f3f
Circleci project setup (#3055)
* Add .circleci/config.yml

* setup config

* use jdk8 image

* Updated config.yml

* Updated config.yml

* Updated config.yml

* more targets

* Updated config.yml

* update config

* update config

* update config

* update config

* update config

* Updated config.yml

* Updated config.yml

* Updated config.yml

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update runtime version

* update config

* update config

* python3 config

* update config

* align Python2 and Python3 test hierarchy

* update runtime version

* update config

* update config

* update config

* update config

* explore dart issue

* update dart installer

* update config

* update dart installer

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* use sudo on circle ci

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* Fix NPE

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* update config

* more consistent badges

* do not parallelize tests on circle-ci
2021-01-26 12:56:16 +08:00
Ivan Kochurkin cf16ec791e Fix missed version, https://github.com/antlr/antlr4/pull/2987#pullrequestreview-575417430 2021-01-25 21:14:18 +03:00
kaby76 ce479dc228 Fix for https://github.com/antlr/antlr4/issues/3049 2021-01-24 10:46:39 -05:00
Eric Vergnaud 84d8348dc1 fix disk space issue on MacOSX CI 2021-01-24 19:04:42 +08:00
Eric Vergnaud 05f422268a drop unused script 2021-01-24 18:08:34 +08:00
ericvergnaud b2b1793700
Merge pull request #3048 from antlr/implement-dotnet-ci-omacosx
all MacOSX builds now work using self-hosted Github actions workflow
2021-01-24 18:01:01 +08:00
Eric Vergnaud 4830925ab0 reinstate all builds 2021-01-24 17:59:35 +08:00
Eric Vergnaud 6a7c3ad256 more feedback 2021-01-24 17:57:40 +08:00