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
Kko
8bcc12de28
Fix #3052
2021-01-27 15:07:54 +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
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
020333deff
work around Swift crash where reading hashValue on SemanticContext.AND instance would call the empty constructor (possibly a Swift bug?)
2021-01-24 13:46:58 +08:00
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
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
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
16b6e49c94
set compat in swift
2021-01-03 12:38:26 -08:00
parrt
897fe1f3e6
rm git submodule for PHP
2021-01-03 11:21:04 -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
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
Alex Mykyta
6990edd4d4
Improve python3 performance via addition of __slots__
2020-12-29 18:37:25 -08: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
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
b09a185890
Update README.md
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
ab7265958b
Rename Antlr4.dotnet.sln ->Antlr4.sln, Antlr4.Runtime.dotnet.csproj -> Antlr4.Runtime.csproj
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
30d2b87f63
Move SerializableAttribute from Compact to Sharpen folder
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
047005044d
Remove Compact folder because it's not actual
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
573f71bf7d
Remove preprocessor directives that check COMPACT, PORTABLE, NET40PLUS, NET45PLUS from code
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
11077ac15c
Replace netstandard1.3 target with netstandard2.0;netstandard2.1; remove DOTNETCORE;NET40PLUS;NET45PLUS defined constants, add NETSTANDARD20
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
4884a0fecb
Drop support of outdated net35, remove mono and vs2013 .csproj and .sln files
2020-12-28 16:16:58 +03:00
ericvergnaud
c79b0fd80c
Merge pull request #3004 from antlr/fix-dependabot-issue
...
upgrade ini
2020-12-14 09:13:20 +08:00
Eric Vergnaud
441b0d60e7
Fix typo
2020-12-13 10:13:34 +08:00
Eric Vergnaud
c4d0ace5f3
upgrade ini
2020-12-13 09:56:29 +08:00
ericvergnaud
4ce826a67e
Merge branch 'master' into master
2020-12-06 22:57:15 +08:00
ericvergnaud
0833b2e46e
Merge branch 'master' into version
2020-12-06 22:41:30 +08:00
ericvergnaud
0ad70569b2
Merge pull request #2996 from ericvergnaud/fix-js-perf-issue-cause-by-incorrect-fix
...
rollback partially incorrect fix for #2902
2020-12-06 22:25:15 +08:00
ericvergnaud
1b947ee74a
Merge pull request #2985 from maxence-lefebvre/patch-1
...
🚑 fix bad import
2020-12-06 17:01:25 +08:00
Eric Vergnaud
74b8bb780d
rollback partially incorrect fix for #2902
2020-12-06 15:49:29 +08:00
David Phillips
5eedc1e65a
Java: add newline to version mismatch messages
2020-12-03 15:04:51 -08:00