ANTLR 4 Runtime for TypeScript/JavaScript

JSON →
library 0.5.0-alpha.4 ·javascript
verified May 27, 2026

antlr4ts is the official TypeScript/JavaScript runtime for ANTLR 4, a powerful parser generator. It enables developers to execute grammars written in ANTLR 4 within JavaScript or TypeScript applications, providing core parsing functionalities such as lexers, parsers, and tree walkers/visitors. Currently, the package is in an alpha state (v0.5.0-alpha.4), indicating ongoing development and potential API changes. Releases are made periodically to incorporate updates from the main ANTLR 4 Java target, fix bugs, and ensure compatibility with newer TypeScript versions. Its key differentiators include strong typing due to its TypeScript foundation, full support for ANTLR 4 features like listeners and visitors, and an integrated CLI for grammar compilation.

total hits 22
actors 8 distinct systems
last hit 2d ago Amazonbot
ByteDance
4
MetaBot
4
GPTBot
2
Script
2
Amazonbot
1
PerplexityBot
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇮🇳 India