Registry / other / antlr4-runtime

antlr4-runtime

JSON →
library4.13.2javamavenunverified

The ANTLR 4 Runtime provides the runtime library for parsing and lexing using ANTLR-generated parsers and lexers.

<dependency> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId> <version>4.13.2</version> </dependency>
INSTALL
IMPORT
SIG · ANTLR4-RUNTIME
A
antlr4-runtime
otherjavav4.13.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ANTLRInputStream
org.antlr.v4.runtime.ANTLRInputStream

Minimal usage of ANTLR runtime to create an input stream.

import org.antlr.v4.runtime.ANTLRInputStream; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.tree.ParseTree; public class Main { public static void main(String[] args) throws Exception { ANTLRInputStream input = new ANTLRInputStream("1+2"); // Use generated lexer/parser classes } }
Debug
Known issues
breakingVersion 4.13.2 requires Java 11 or later.
fix
Ensure your project uses Java 11+ or downgrade to an older version.
affects: >=4.13.0
Upgrade
Version history
4.13.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Meta
1
OpenAI (training)
1
Resources
antlr4-runtime — mvn dependency:get antlr4-runtime · libregistry