Commit Graph

330 Commits

Author SHA1 Message Date
不是油条 31dd28630e
fix javascript import in example code 2021-03-02 00:59:48 +08:00
Xingyu Xie 3074c7f10f
fix a typo of case sensitivity 2021-02-21 03:05:09 +08:00
Oscar Bonilla c0935e190b
Add missing single quote in lexicon.md (#2254) 2021-02-14 00:27:10 +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 3c67a9d4ea
Merge pull request #2967 from lingyv-li/patch-1
Include prerequisite documentation to publish Dart target
2021-01-27 14:34:07 +08:00
parrt 464bcbc32d tweak doc 2021-01-05 13:20:45 -08:00
parrt c5fbf63b55 update doc 2021-01-03 12:22:45 -08:00
parrt 5122e15ca9 tweak doc for php 2021-01-03 11:51:13 -08:00
parrt 53f1ced58c tweak doc 2021-01-03 11:06:55 -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
Ivan Kochurkin e4b3ae9be2 Remove not used AssebmblyInfo.cs 2020-12-28 16:17:00 +03:00
ericvergnaud e2210e7deb
Merge pull request #2977 from antlr/fix-junit-security-alert
Upgrade JUnit to address dependabot security alert
2020-11-29 10:01:40 +08:00
Eric Vergnaud 36f1d07ca0 Fix #2976 2020-11-29 09:59:55 +08:00
Eric Vergnaud 82c8824147 Upgrade JUnit to address dependabot security alert 2020-11-28 22:42:43 +08:00
Larry Li 4bcbbe23a1
Include prerequisite to publish Dart target
add link to download dart sdk
2020-11-25 17:38:41 +11:00
parrt 954c5fab1c update release doc 2020-11-24 13:47:49 -08:00
parrt 43f54f8719 tweak compose doc for php 2020-11-24 13:00:23 -08:00
parrt 59c24696ae tweak doc 2020-11-24 12:04:45 -08:00
parrt d27e6cad09 Update to version num 4.9 in code / projects 2020-11-24 11:42:42 -08:00
parrt a2db5e6743 tweak 4.8->4.9 in doc 2020-11-24 11:27:38 -08:00
parrt fc640c944a Merge branch 'master' of github.com:antlr/antlr4 into master 2020-11-24 10:43:35 -08:00
parrt e2dadb5f62 tweak cpp doc 2020-11-24 10:43:31 -08:00
Terence Parr cecb8ee0d5
Merge pull request #2538 from t-gergely/patch-1
Update tree-matching.md
2020-11-24 10:41:53 -08:00
Terence Parr a18b83d38f
Merge branch 'master' into patch-1 2020-11-24 10:39:56 -08:00
Terence Parr cc5e71cdeb
Merge branch 'master' into patch-1 2020-11-24 10:38:22 -08:00
Terence Parr a4f0cf1223
Merge pull request #2622 from easonlin404/easonlin404-patch-1
[Golang] enable syntax highlighting
2020-11-24 10:37:46 -08:00
Terence Parr dce97a050d
Merge pull request #2680 from listba/patch-1
Documentation: Added Missing lexer/parermodifier clarification in example
2020-11-24 10:33:29 -08:00
Terence Parr 8d25c16dee
Merge pull request #2731 from praveen4463/patch-1
fixing a typo, was role instead of rule
2020-11-24 10:32:04 -08:00
Terence Parr 08b9e1c84b
Merge pull request #2799 from lwehmeier/master
Fixed link to CMake example in cpp-target.md
2020-11-24 10:29:12 -08:00
parrt 9366718c11 Merge branch 'master' of github.com:antlr/antlr4 into master 2020-11-24 10:28:47 -08:00
parrt 06a44e79d3 tweak 1.6->1.7 java 2020-11-24 10:28:39 -08:00
Terence Parr f7f1b25312
Merge branch 'master' into master 2020-11-24 10:28:08 -08:00
Terence Parr 0d2034f906
Merge branch 'master' into patch-1 2020-11-24 10:23:46 -08:00
Terence Parr bb2a1ecbad
Merge branch 'master' into patch-1 2020-11-24 10:21:47 -08:00
Terence Parr 346e4c4bff
Merge pull request #2851 from akosthekiss/doc-charset-hyphen-escape
Be more precise in documentation of char set when escaping is needed
2020-11-24 10:17:28 -08:00
parrt d0390e7620 tweak 4.8->4.9 2020-11-24 10:15:49 -08:00
Terence Parr f3a8a7a4e1
Merge branch 'master' into patch-1 2020-11-24 10:14:45 -08:00
Terence Parr b5812a1e79
Merge pull request #2919 from MuhammedZakir/patch-1
Fix typo - our -> are
2020-11-24 10:12:41 -08:00
Michel Hartmann e660b3589c
Fix links to faqs about translations 2020-11-05 08:55:11 +01:00
Adarsh Bhat df0e0204e0 Version specific information for Webpack 2020-10-28 17:33:19 -07:00
Adarsh Bhat 4ba08c82dd Corrected Webpack configuration in JavaScript documentation 2020-10-16 11:41:38 -07:00
Terence Parr 9e64dfc6e9
Merge pull request #2931 from ericvergnaud/javascript-es6-migration
Javascript es6 migration
2020-10-10 16:25:22 -07:00
Terence Parr 1bbb69ffc7
Merge branch 'master' into patch-1 2020-10-10 16:18:29 -07:00
Terence Parr efcc9d1042
Merge pull request #2903 from tiansiyuan/master
add a missing space
2020-10-10 16:16:28 -07:00
Terence Parr d957b1ed30
Merge pull request #2933 from RexJaeschke/patch-1
Correct the csharp-target example for invoking a custom listener
2020-10-10 16:10:02 -07:00
Rex Jaeschke 50c9faeb11
Update csharp-target.md
Correct the spelling of 2 members: `Default` and `Walk`
2020-10-04 17:04:15 -04:00
Eric Vergnaud 11ede0fc77 Update the docs 2020-10-04 13:37:05 +08:00
cliid 4aa1d59c1a
Update cpp-target.md 2020-09-29 11:03:03 +09:00
Muhammed Zakir 4176289922
Fix typo - our -> are 2020-09-21 16:49:51 +00:00