Skip to content

[lua] Fix for #4496 -- add the Antlr4ng port, and fix several broken ports.#4497

Merged
teverett merged 2 commits into
antlr:masterfrom
kaby76:g4-4496
Jun 14, 2025
Merged

[lua] Fix for #4496 -- add the Antlr4ng port, and fix several broken ports.#4497
teverett merged 2 commits into
antlr:masterfrom
kaby76:g4-4496

Conversation

@kaby76

@kaby76 kaby76 commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

This PR fixes #4496.

For this PR, I added the Antlr4ng port. A comment in the grammar, which transformGrammar.py modifies to a @header, was changed to remove the string "C++" because it has to be modified for Antlr4ng as well.

In addition, while perusing the code, I noticed that several ports were broken, and the test scripts were also broken. This PR fixes the Cpp, JavaScript, and TypeScript ports for the grammar, but the test scripts are fixed in another PR. #4501

Fix broken ports and add Antlr4ng port. The grammar comment is changed to reflect that the header is required not only for Cpp but for Antlr4ng.
@kaby76 kaby76 mentioned this pull request Jun 2, 2025
@kaby76 kaby76 marked this pull request as ready for review June 2, 2025 11:47
@kaby76 kaby76 changed the title [lua] Fix #4496 -- add the Antlr4ng port, and fix several broken ports. [lua] Fix for #4496 -- add the Antlr4ng port, and fix several broken ports. Jun 2, 2025
@teverett

Copy link
Copy Markdown
Member

@kaby76 thanks!

@teverett teverett merged commit b60c7d7 into antlr:master Jun 14, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[lua] Target Antlr4ng needs to be added.

3 participants