Commit Graph

7838 Commits

Author SHA1 Message Date
ericvergnaud b050ac43de
Merge pull request #3046 from ericvergnaud/update-LL1Analyzer
Update LL1 analyzer in C#, Python, JavaScript, Cpp and Swift runtimes, aligning on the Java runtime
Fixes #3042
2021-01-24 11:12:18 +08:00
Eric Vergnaud 954649d5aa Fix various javascript warnings and typos 2021-01-23 20:39:53 +08:00
Eric Vergnaud 58da376bef fix #3042 in Swift runtime 2021-01-23 19:19:02 +08:00
Eric Vergnaud 4322672435 fix #3042 in Go runtime 2021-01-23 18:50:21 +08:00
Eric Vergnaud 559d526648 fix #3042 in Cpp runtime 2021-01-23 18:47:54 +08:00
Eric Vergnaud e8dfc30f91 fix typo 2021-01-23 18:18:30 +08:00
Eric Vergnaud 329f1301ea fix #3042 in JavaScript runtime 2021-01-23 17:32:06 +08:00
Eric Vergnaud a9f11612dd fix #3042 in Python 2 runtime 2021-01-23 17:23:45 +08:00
Eric Vergnaud 7a9a26c7ec fix #3042 in Python 3 runtime 2021-01-23 17:22:17 +08:00
Eric Vergnaud 53b65c015c fix #3042 in C# runtime 2021-01-23 17:04:01 +08:00
ericvergnaud 107f40c63c
Use self hosted GitHub CI for Swift (#3036)
* Create swift-lexer.yml

Exploring self-hosted GitHub CI

* Create run-tests-swift.sh

* Update swift-lexer.yml

* Update swift-lexer.yml

* Update swift-lexer.yml

* chmod script

* chmod script

* fix typo

* Update swift-lexer.yml

* chmod script

* Update swift-lexer.yml

* Update swift-lexer.yml

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update swift-lexer.yml

* Update swift-lexer.yml

* Update run-tests-swift.sh

* Update swift-lexer.yml

* Update swift-lexer.yml

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* try java tests

* Update java-all.yml

* Update java-all.yml

* only run heartbeat when necessary (otherwise build hangs)

* kill hung process

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Update run-tests-swift.sh

* Create mac-action-runner-readme.txt

* try prefixing swift cmd with arch

* try again

* try locate generated binaries

* fix crash

* try from script

* keep trying

* keep trying

* in progress!

* let's see how it goes...

* fix failing build

* more logs

* more logs

* more logs

* finally ?

* grrrr

* let's see if maven is the culprit

* fix warnings when compiling swift runtime

* more warnings gone

* works with 1 class, how about many?

* more warnings gone

* less noise

* Revert "more warnings gone"

This reverts commit a09e221c41.

* try matrix

* fix failing build

* don't fail fast
2021-01-22 17:04:17 +08:00
ericvergnaud 1095804388
Fix swift warnings (#3043)
* fix warnings when compiling swift runtime

* more warnings gone

* more warnings gone

* Revert "more warnings gone"

This reverts commit a09e221c41.
2021-01-22 11:33:29 +08:00
Eric Vergnaud 5dce78c87a Fix typo 2021-01-21 17:23:44 +08:00
Terence Parr d34d2e1c27
Merge pull request #3039 from antlr/fix-annotation-processor-class-cast-issue
Potential fix to #3038
2021-01-13 17:08:55 -08:00
Eric Vergnaud f26c95ff13 horrible code, but solves the immediate problem with latest IntelliJ/Java9+ 2021-01-13 16:44:06 +08:00
parrt 464bcbc32d tweak doc 2021-01-05 13:20:45 -08:00
parrt 19ec50f38a [maven-release-plugin] prepare for next development iteration 2021-01-05 11:22:10 -08:00
parrt 5c2b686f95 [maven-release-plugin] prepare release 4.9.1 2021-01-05 11:22:02 -08:00
parrt 00b98ddc24 fix another typo in appveyor.yml trying to get PHP to work. 2021-01-05 10:19:05 -08:00
parrt 82113bde9b set runtime/PHP name properly 2021-01-04 13:03:59 -08:00
parrt 547fd7cc5e add php to travis script again 2021-01-03 13:19:33 -08:00
parrt 615d76dcda add clone for php to travis script 2021-01-03 13:18:27 -08:00
parrt 3b90a43f40 Revert "rm php from appveyor"
This reverts commit 57e747b4d3.

# Conflicts:
#	appveyor.yml
2021-01-03 13:12:52 -08:00
parrt 41f3f4928d rm submodule pull, clone instead 2021-01-03 13:10:17 -08:00
parrt 16b6e49c94 set compat in swift 2021-01-03 12:38:26 -08:00
parrt c5fbf63b55 update doc 2021-01-03 12:22:45 -08:00
parrt 534d95bed2 rm php from travis 2021-01-03 12:10:27 -08:00
parrt 57e747b4d3 rm php from appveyor 2021-01-03 12:08:13 -08:00
parrt 5122e15ca9 tweak doc for php 2021-01-03 11:51:13 -08:00
parrt 897fe1f3e6 rm git submodule for PHP 2021-01-03 11:21:04 -08:00
parrt 53f1ced58c tweak doc 2021-01-03 11:06:55 -08:00
parrt dab70eae4d add to ignore 2021-01-03 10:26:35 -08:00
parrt eaa976e425 Bump version to 4.9.1 2021-01-03 10:13:19 -08:00
parrt 9c7b56361c tweak docs 2021-01-03 09:51:43 -08:00
Terence Parr d063120c87
Merge pull request #3019 from KvanTTT/InvalidGeneratedCodeAndNoRulesErrorIfOnlyFragmentsAreUsed
Invalid generated code and no rules error if only fragments are used
2021-01-02 10:40:22 -08:00
ericvergnaud 491cb78613
Merge pull request #2971 from mr-c/py3runtime_test_dist
Py3 Runtime: distribute the tests
2021-01-01 09:50:28 +08:00
ericvergnaud d050e38635
Merge branch 'master' into py3runtime_test_dist 2021-01-01 09:50:01 +08:00
ericvergnaud e613eaee36
Merge pull request #2987 from KvanTTT/CSharpRuntimeUpgrade
C# runtime upgrade
2020-12-31 09:05:08 +08:00
ericvergnaud 47e973414c
Merge pull request #3017 from amykyta3/master
Improve python3 performance by adding __slots__
2020-12-31 09:02:44 +08:00
Alex Mykyta 6990edd4d4 Improve python3 performance via addition of __slots__ 2020-12-29 18:37:25 -08:00
Ivan Kochurkin 67f6089261 Throw error if lexer does not contain non-fragment rules, extend TestToolSyntaxErrors testA, fix #3000 2020-12-29 16:33:33 +03:00
Ivan Kochurkin 92bee7d929 Check parser.rules instead of parser.tokens in Cpp.stg (fix misprint) 2020-12-29 16:33:33 +03:00
Ivan Kochurkin ca2bfedb2c Fix .stg templates to exclude generating of invalid code if lexer or parser rules are not exist 2020-12-29 16:33:33 +03:00
Ivan Kochurkin a001c2f67b Replace PackageIcon with PackageIconUrl because it does not work fine, remove Antlr.png 2020-12-28 16:36:27 +03:00
Ivan Kochurkin e4b3ae9be2 Remove not used AssebmblyInfo.cs 2020-12-28 16:17:00 +03:00
Ivan Kochurkin 925c0a6b8b Fix CI scripts; use dotnet everywhere for testing; remove before-install-linux-csharp.sh, run-tests-csharp.sh 2020-12-28 16:17:00 +03:00
Ivan Kochurkin b4ceb2022a Simplify structure of csharp runtime files, remove not used .sln file, use PackageIcon property instead of outdated PackageIcon in Antlr4.csproj 2020-12-28 16:17:00 +03:00
Ivan Kochurkin dc8fc4f94f Fix dotnet build, remove not used code 2020-12-28 16:16:59 +03:00
Ivan Kochurkin 22967d3ccd Remove tests/ dir from .gitignore (it skips files from runtime tests directory) 2020-12-28 16:16:59 +03:00
Ivan Kochurkin 626192dd9b Fix dotnet tests: use dotnet on all platforms, remove useless files 2020-12-28 16:16:59 +03:00