Commit Graph

122 Commits

Author SHA1 Message Date
parrt cb4e59d420 bump version to 4.9.2 2021-03-11 14:10:44 -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 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
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 53b65c015c fix #3042 in C# runtime 2021-01-23 17:04:01 +08:00
parrt eaa976e425 Bump version to 4.9.1 2021-01-03 10:13:19 -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
Eric Vergnaud 441b0d60e7 Fix typo 2020-12-13 10:13:34 +08:00
parrt d27e6cad09 Update to version num 4.9 in code / projects 2020-11-24 11:42:42 -08:00
Terence Parr 527118197f
Merge branch 'master' into master 2020-10-08 09:54:57 -07:00
Martin Mirchev 0ead01fb97 Made C# Trace Listener usable 2020-10-08 14:40:03 +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
Song Yang 575271020f Copy documentation to all non-Java languages 2020-03-17 16:03:29 -04:00
parrt 6ad9646382 update version in code to 4.8 2020-01-16 12:18:17 -08:00
Terence Parr aa51ef297a
Merge branch 'master' into master 2019-06-23 15:45:10 -07:00
Thomas 3534089ddf Fix formating 2019-05-14 08:57:18 +02:00
Thomas e7660d6cfa Align overlap condition on java implementation 2019-05-13 22:38:06 +02:00
parrt 38a95da397 manual edits of 4.7.1 -> 4.7.2 2018-12-17 14:32:39 -08:00
Eric Vergnaud 56186d9e9f fix NPE 2018-11-26 01:03:36 +08:00
Eric Vergnaud f6537bf4ac fix #1955 for Chsarp 2018-11-18 19:31:47 +08:00
Edir Garcia Lazo 9a42ff33f4 Use proper spacing formatting for this repo 2018-10-18 11:20:38 -07:00
Edir Garcia Lazo 0af9611215 Properly build and pass in decisionToDFA 2018-10-18 11:16:55 -07:00
Andreas Skaar 10f8cac7f4 Update runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Atn/SingletonPredictionContext.cs
NullReferenceException in CSharp target #2304
2018-10-08 22:05:05 +02:00
Raz Friman c0cfcdf23c
Update README.md
Make the NuGet package name more visible and add a link to the official package
2018-02-08 14:02:59 +11:00
parrt 763a1242b7 update version number and tweak doc 2017-12-08 12:47:11 -08:00
parrt b9adef5878 set version for C# dotnet to 4.7.1.1 for publishing 2017-12-04 14:12:20 -08:00
Rostislav Listerenko 9ec6c665d5 #2021 nuget artifact in appveyor 2017-11-13 08:47:15 +03:00
Rostislav Listerenko 5b5f195b12 #2021 fixes nuget packaging options to avoid missing dll exceptions in transitive dependencies 2017-11-12 16:11:12 +03:00
vaibhavaingankar09 8b3da13259 fix to the ATN deserialiser issue on big endian architecture 2017-07-17 06:45:29 +00:00
Daniel Katz 952b971728 Update .Net NuGet package name to 4.7 with .NET Core target 2017-06-14 11:22:47 +03:00
Eric Vergnaud 44ab88c6f9 Set version to 4.7.1 because 4.7.0 already exists on Nuget 2017-05-28 20:47:58 +08:00
Will Fuqua e39543a257 add build script and update docs 2017-05-27 00:02:54 +07:00
Will Fuqua e88eba13fb add dotnetcore dll to nuspec
as part of this, add OutputPath to the csproj so it matches the mono csproj OutputPath
2017-05-26 23:12:47 +07:00
Dong Xie 5fffe4bb2e [dotnet] try to get test run faster; update from 1.0.1 to 1.0.3; fix test dir removal not recursive 2017-04-27 17:23:48 +01:00
Dong Xie da4987dc38 [dotnet] update to .netcore v1.0.1; add osx build 2017-04-04 15:26:40 +01:00
parrt 930e31d470 Merge branch 'master' of github.com:antlr/antlr4 2017-03-30 11:07:02 -07:00
parrt e6a9adf276 update 4.6 -> 4.7 in files 2017-03-30 11:06:44 -07:00
parrt b5648f405b tweak documentation about various targets 2017-03-30 10:44:28 -07:00
Terence Parr 828461337f Merge pull request #1775 from bhamiltoncx/csharp-char-streams
New C# CharStreams static factory class
2017-03-29 14:37:06 -07:00