antlr/runtime
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
..
CSharp Restructure C# runtime and fix Issue #2693 (#3057) 2021-02-02 09:51:41 +08:00
Cpp fix #3042 in Cpp runtime 2021-01-23 18:47:54 +08:00
Dart Bump version to 4.9.1 2021-01-03 10:13:19 -08:00
Go/antlr fix #3042 in Go runtime 2021-01-23 18:50:21 +08:00
Java [maven-release-plugin] prepare for next development iteration 2021-01-05 11:22:10 -08:00
JavaScript Merge pull request #3046 from ericvergnaud/update-LL1Analyzer 2021-01-24 11:12:18 +08:00
Python2 Circleci project setup (#3055) 2021-01-26 12:56:16 +08:00
Python3 Fix #3052 2021-01-27 15:07:54 +08:00
Swift 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