Antlr4 + Kotlin + Intellij errors...

13 views
Skip to first unread message

Nicholas Weaver

unread,
Dec 15, 2024, 4:58:24 PM12/15/24
to antlr-discussion
I started with the sample project/discussion from Alexey Yakovlef as a guide and I'm trying to do antlr4 + kotlin.  

Gradle seems to have no problem building the project, however, the IntellIJ Kotlin mode is not recognizing the sourceset for the parser, although it is in the Gradle configuration:

sourceSets {
main {
java {
srcDir(tasks.generateGrammarSource)
}
}
}

Does anyone have suggestions/workarounds for the problem?  Thanks.
Reply all
Reply to author
Forward
0 new messages