Commit Graph

9271 Commits

Author SHA1 Message Date
Mateusz Burzyński 96f97704a1 fixed paths to use actually existing files
Signed-off-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-06-09 13:39:00 -07:00
Mateusz Burzyński a004a76aa1 Fixed file paths used in `package.json#exports.types`
Signed-off-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-06-09 13:39:00 -07:00
Ivan Kochurkin f0b9e223ff Introduce `buildParseTree` testing (true and false)
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-06-02 09:33:05 -07:00
Ivan Kochurkin 3f91870c1f Introduce PredictionMode testing (SLL and LL)
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-06-01 17:42:03 -07:00
Ivan Kochurkin 8fbce6668e Remove duplicated lines from Test.dart.stg
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-06-01 09:43:24 -07:00
Ivan Kochurkin 69bcc2172a Remove setting buildParseTree=true because it's default value
Clarify doc and runtime test templates

fixes #4195

Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-06-01 09:43:24 -07:00
Ivan Kochurkin e85d3e28b8 Simplify Java testing infrastructure
Move code from template to Java files

Remove returnObject option from RunOptions since it's not needed anymore

Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-06-01 09:43:24 -07:00
Ivan Kochurkin 7ed901d037 Add test with grammar name that starts with u
fixes #4128

Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-05-31 17:47:18 -07:00
Jim.Idle 5d7b514bb6 fix: #4128 - Prevent generating escape sequences when Windows directories start with a u
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-31 10:03:25 -07:00
Ivan Kochurkin 628602d5e0 Update dotnet to the latest version (6 -> 7)
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-05-25 17:12:38 -07:00
Terence Parr 873a01ca29 Update py build release doc 2023-05-21 10:42:18 -07:00
Terence Parr 4770a236f1 [maven-release-plugin] prepare for next development iteration 2023-05-21 10:27:00 -07:00
Terence Parr 0ae86c2d69 [maven-release-plugin] prepare release 4.13.0 2023-05-21 10:26:56 -07:00
Terence Parr 37585e4e0f Update js package-lock.json 2023-05-21 10:22:58 -07:00
Terence Parr 5dc2a2956f Update version in more files to 4.13.0 2023-05-21 10:08:46 -07:00
Terence Parr ffe0eef392 Merge branch 'master' of github.com:antlr/antlr4 2023-05-21 10:04:18 -07:00
Terence Parr c630cb6bce Update version in many files to 4.13.0 2023-05-21 10:00:04 -07:00
Terence Parr a9639d06de Merge branch 'dev' 2023-05-21 09:42:49 -07:00
Terence Parr 134eda9f1a bump version to 4.13.0-SNAPSHOT in poms, regen XPath lexers.
Signed-off-by: Terence Parr <parrt@antlr.org>
2023-05-21 09:42:17 -07:00
Jim.Idle 6e03105934 doc: Make sure that we are using the latest LICENSE file inthe go module
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:08:30 -07:00
Jim.Idle 29cf908cbb feat: Use the latest version of x/exp
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:08:30 -07:00
Jim.Idle bb631058a3 fix: Remove go.mod from v1 tree - it wasn't being found anyway
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:08:30 -07:00
Jim.Idle 7d393013ba feat: Move to new Go repo
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:08:30 -07:00
Jim.Idle d35ffa716c feat: Switch code generation over to the new antlr4-go/antlr repo, update main README.md
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:08:30 -07:00
Jim.Idle f8535b366b doc: Correct the name of the new ANTLR go repo
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:07:30 -07:00
Jim.Idle 8a2a1b80c6 docs: Write release notes and new instrcutions for using the Go target.
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:07:30 -07:00
Jim.Idle 4bf93cc3d0 doc: Bump version of the ANTLR tool specified in the docs
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:07:30 -07:00
Jim.Idle a553fb718b docs: Small tweak to represent generated code location in a neater fashion
Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:07:30 -07:00
Jim.Idle 4af8a2b558 doc: Update the main package docs for the upcoming release
- Point to the new release only Go repo
  - Modify and clarify project layout suggestions

Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:07:30 -07:00
Jim.Idle a69935a086 doc: Update the readme at the root of the Go Runtime
- Prevent people from trying to use the module in the non-v4 directory
  - Redirect people to github.com/antlr4-go/antlr

Signed-off-by: Jim.Idle <jimi@idle.ws>
2023-05-18 20:07:30 -07:00
KOLANICH c9952afa5e Started collecting submodules automatically
Signed-off-by: KOLANICH <KOLANICH@users.noreply.github.com>
2023-05-18 12:53:55 -07:00
KOLANICH d06a6d5979 Move the metadata into `PEP 621`-compliant `pyproject.toml`.
Signed-off-by: KOLANICH <KOLANICH@users.noreply.github.com>
2023-05-18 12:53:55 -07:00
KOLANICH f6040f0725 Remove `setup.py`. Building should be done using `python3 -m build`
Signed-off-by: KOLANICH <KOLANICH@users.noreply.github.com>
2023-05-18 12:53:55 -07:00
KOLANICH da4968a8b8 Add `pyproject.toml` according to `PEP 517` & `PEP 518`
Signed-off-by: KOLANICH <KOLANICH@users.noreply.github.com>
2023-05-18 12:53:55 -07:00
KOLANICH 188bfd4fcb Move the metadata from `setup.py` into `setup.cfg`
Signed-off-by: KOLANICH <KOLANICH@users.noreply.github.com>
2023-05-18 12:53:55 -07:00
Ivan Kochurkin e65f0abf26 Update icu dependency (71.1 -> 72.1)
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-05-18 12:51:55 -07:00
Ivan Kochurkin 4ee259e441 Fix indents in unicodedata.st
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-05-18 12:51:55 -07:00
Ivan Kochurkin 8fe211b0a1 Get rid of static class generation for property aliases
Now it doesn't cause "Code too big" compiler error

Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-05-18 12:51:55 -07:00
Ivan Kochurkin 4ad724f9f3 Get rid of static class generation for properties
Now it doesn't cause "Code too big" compiler error

Use raw int arrays instead of intervals in UnicodeData.java

It significantly decreases the size of the output jar artifact

Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
2023-05-18 12:51:55 -07:00
Eric Vergnaud cae2b22550 Fix type hint 2023-05-17 16:10:50 -07:00
Terence Parr 5d1fd1a340
Update releasing-antlr.md
Signed-off-by: Terence Parr <parrt@antlr.org>
2023-05-12 09:44:33 -07:00
Prashant-Jagtap 2c07aa87b2 Update base image to add multi-arch support
Signed-off-by: Prashant-Jagtap <Prashant.Jagtap@ibm.com>
2023-05-10 08:24:47 -07:00
Rodrigo Antonio Godinho da Silva bd09a4680a Exporting syntaxErrorsCount
Signed-off-by: Rodrigo Antonio Godinho da Silva <rodrigo.antonio@totvs.com.br>
2023-05-08 12:47:13 -07:00
Tao Wang aed321c168 update doc/cpp-target.md
Co-authored-by: Ivan Kochurkin <kvanttt@gmail.com>
Signed-off-by: Tao Wang <wangtaofighting@163.com>
2023-05-06 12:44:52 -07:00
wangtao9 4d19010f6a fix review comments
Signed-off-by: wangtao9 <wangtaofighting@163.com>
2023-05-06 12:44:52 -07:00
wangtao9 76a63cd37b minor fix doc
Signed-off-by: wangtao9 <wangtaofighting@163.com>
2023-05-06 12:44:52 -07:00
wangtao9 5f27febfa7 update doc cpp-target.md
Signed-off-by: wangtao9 <wangtaofighting@163.com>
2023-05-06 12:44:52 -07:00
wangtao9 8b53ac1f65 remove useless codegen option
Signed-off-by: wangtao9 <wangtaofighting@163.com>
2023-05-06 12:44:52 -07:00
wangtao9 afe52126d7 use compile-time macro instead of generate-time option
Signed-off-by: wangtao9 <wangtaofighting@163.com>
2023-05-06 12:44:52 -07:00
wangtao9 b7666046cd remove string option lockFreeCppTarget of grammar
Signed-off-by: wangtao9 <wangtaofighting@163.com>
2023-05-06 12:44:52 -07:00