forked from jasder/antlr
4b649103f3
* 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! |
||
---|---|---|
.. | ||
faq | ||
images | ||
resources | ||
IDEs.md | ||
ace-javascript-target.md | ||
actions.md | ||
antlr-project-testing.md | ||
building-antlr.md | ||
case-insensitive-lexing.md | ||
cpp-target.md | ||
creating-a-language-target.md | ||
csharp-target.md | ||
dart-target.md | ||
getting-started.md | ||
go-target.md | ||
grammars.md | ||
index.md | ||
interpreters.md | ||
java-target.md | ||
javascript-target.md | ||
left-recursion.md | ||
lexer-rules.md | ||
lexicon.md | ||
listeners.md | ||
options.md | ||
parser-rules.md | ||
parsing-binary-files.md | ||
php-target.md | ||
predicates.md | ||
python-target.md | ||
releasing-antlr.md | ||
resources.md | ||
swift-target.md | ||
targets.md | ||
tool-options.md | ||
tree-matching.md | ||
unicode.md | ||
wildcard.md |