Skip to content

Tries to switch to antlr4ng and antlr-ng parser WIP - #598

Draft
anderson4j wants to merge 1 commit into
mainfrom
antlr-ng-test
Draft

Tries to switch to antlr4ng and antlr-ng parser WIP#598
anderson4j wants to merge 1 commit into
mainfrom
antlr-ng-test

Conversation

@anderson4j

Copy link
Copy Markdown
Collaborator

Would be nice to not have an old built-in ANTLR4-c3 package in the repo. Looks like antlr4-c3 is TS now, so think we should be good to swap.

Saw that antlr-ng is developed by the same guy who makes antlr4-c3 (and the readme says "antlr4-c3 The antlr-ng and ANTLR4 Code Completion Core", so I thought it could be nice to swap to this as well.

My quick try of it needed a bunch of minor changes for small changes to how things work/are named.

Biggest issue seems to be that antlr-ng produces parser with "EOF" tokens, while it seems the library uses "cEOF" for the same purpose?

@changeset-bot

changeset-bot Bot commented Oct 30, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 197669f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant