Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsolete Package, use antlr4 directly to generate typescript targets #549

Open
1R053 opened this issue May 17, 2024 · 1 comment
Open

Obsolete Package, use antlr4 directly to generate typescript targets #549

1R053 opened this issue May 17, 2024 · 1 comment

Comments

@1R053
Copy link

1R053 commented May 17, 2024

This package is obsolete and will not work with most recent typescript versions, e.g. due to error TS2611.

Instead, use ANTLR4 directly.

  1. Install as described here:
    https://github.com/antlr/antlr4/blob/master/doc/getting-started.md

  2. generate the typescript files as described here:
    https://github.com/antlr/antlr4/blob/master/doc/typescript-target.md

@mike-lischke
Copy link
Contributor

ANTLR4 has no real TypeScript runtime (only the code generator is using TS). The runtime is still JavaScript with some type definitions.

For a full TypeScript runtime I recommend antlr4ng, which I created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants