
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
JavaScript runtime libraries for ANTLR 4
This runtime is available through npm. The package name is 'antlr4'.
This runtime has been tested in Node.js, Safari, Firefox, Chrome and IE.
See www.antlr.org for more information on ANTLR
See Javascript Target for more information on using ANTLR in JavaScript
This runtime requires node version >= 16.
ANTLR 4 runtime is available in 10 target languages, and favors consistency of versioning across targets. As such it cannot follow recommended NPM semantic versioning. If you install a specific version of antlr4, we strongly recommend you remove the corresponding ^ in your package.json.
PEG.js is a simple parser generator for JavaScript based on the parsing expression grammar formalism. It is similar to ANTLR in that it allows you to define grammars and generate parsers, but it is generally considered to be easier to use for simpler grammars and smaller projects.
Nearley is a fast, powerful parser toolkit for JavaScript. It is similar to ANTLR in that it allows you to define grammars and generate parsers, but it uses a different parsing algorithm (Earley parsing) which can handle a wider range of grammars, including ambiguous ones.
Jison is a parser generator for JavaScript that is similar to ANTLR. It allows you to define grammars using a syntax similar to Bison/Yacc and generates parsers that can be used in JavaScript applications. Jison is often used for building compilers and interpreters for custom languages.
FAQs
JavaScript runtime for ANTLR4
The npm package antlr4 receives a total of 1,071,179 weekly downloads. As such, antlr4 popularity was classified as popular.
We found that antlr4 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.