antlr-kotlin
antlr-kotlin copied to clipboard
Support for Kotlin as a target for ANTLR
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. --- ### ⚠ Dependency Lookup Warnings ⚠ - Renovate failed to look up the...
I was using the following configuration: ```kotlin val generateKotlinGrammarSource by tasks.registering(AntlrKotlinTask::class) { antlrClasspath = configurations.detachedConfiguration( project.dependencies.create("com.strumenta.antlr-kotlin:antlr-kotlin-target:ebf3caf7ff") ) source = project.objects .sourceDirectorySet("antlr", "antlr") .srcDir("src/main/antlr").apply { include("**/*.g4") } outputDirectory = file("$buildDir/generated-src/antlr/main/kotlin") }...
For a rule like this: ```antlr number: nested=(INTEGER | FLOAT | PI | INFINITY); ``` There is no way with that grammar that the nested token could be null, but...
`BaseErrorListener` contains some parameter names which are presumably taken directly from the original Java version. The one which grates on me the most is `msg: String` in `syntaxError` - I...
There are a bunch of warnings in the code generated by the tool. Notably: The unused value here - an interesting case because if the setter isn't supported, maybe it...
Hello, I'm trying to configure my multiplatform project with gradle and antlr-kotlin, but I'm facing an issue with the classpath. The template I use is the one on repo, i.e.,...
This PR contains a failing test showing that operator precedence is not respected. ~~No idea how to fix it, though :/~~ Fixed!
I'm trying to build a parser for MongoDB query expressions. The corresponding grammar has a lot of terminals which start with `$`, e.g.: - `$eq` - `$and` - `$not` -...
For awareness https://github.com/antlr/antlr4/pull/3399 implemented a new option that would be worth supporting. I might create PR when I get time which may take a while. Creating this issue in case...
Implement ParseCancellationException constructors so that it correctly passes params to super constructors