{"library":"antlr4ts","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.5.0-alpha.4","tags":["javascript","ANTLR4","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install antlr4ts","imports":["import { ANTLRInputStream } from 'antlr4ts';","import { CommonTokenStream } from 'antlr4ts';","import { ParseTreeWalker } from 'antlr4ts/tree/ParseTreeWalker';","import { MyGrammarLexer } from './MyGrammarLexer';"]},{"cmd":"yarn add antlr4ts","imports":[]},{"cmd":"pnpm add antlr4ts","imports":[]}],"homepage":"https://www.antlr.org","github":"https://github.com/tunnelvisionlabs/antlr4ts","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/antlr4ts","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/antlr4ts/compatibility"}}