diff --git a/java/java20/pom.xml b/java/java20/pom.xml index 48962f4ea9..815d00f620 100644 --- a/java/java20/pom.xml +++ b/java/java20/pom.xml @@ -11,25 +11,6 @@ - - org.codehaus.mojo - build-helper-maven-plugin - 3.4.0 - - - add-source - generate-sources - - add-source - - - - Java - - - - - org.antlr antlr4-maven-plugin diff --git a/kotlin/kotlin/README.md b/kotlin/kotlin/README.md index cfe09cf9da..0075253d03 100644 --- a/kotlin/kotlin/README.md +++ b/kotlin/kotlin/README.md @@ -17,3 +17,41 @@ Anastasiya Shadrina a.shadrina5@mail.ru ## Origin source + +## Issues +The grammar has ambiguities in: +``` +callSuffix +callableReference +classBody +classDeclaration +classMemberDeclaration +controlStructureBody +delegationSpecifier +delegationSpecifiers +enumEntries +functionDeclaration +functionLiteral +ifExpression +importHeader +jumpExpression +kotlinFile +modifier +objectLiteral +postfixUnaryExpression +propertyDeclaration +receiverType +secondaryConstructor +semi +simpleUserType +statement +statements +superExpression +type +typeRHS +typeReference +userType +valueArgument +whenEntry +whenExpression +``` diff --git a/kotlin/kotlin/desc.xml b/kotlin/kotlin/desc.xml index 84b2a3bc5a..d61ef69530 100644 --- a/kotlin/kotlin/desc.xml +++ b/kotlin/kotlin/desc.xml @@ -3,4 +3,12 @@ Antlr4ng;Cpp;CSharp;Dart;Java;JavaScript;TypeScript;Python3 KotlinLexer.g4;KotlinParser.g4 Kotlin + + kotlinFile + examples/kotlinFile + + + script + examples/script + diff --git a/kotlin/kotlin/examples/script/hello.kts.errors b/kotlin/kotlin/examples/script/hello.kts.errors deleted file mode 100644 index 5118f86a32..0000000000 --- a/kotlin/kotlin/examples/script/hello.kts.errors +++ /dev/null @@ -1 +0,0 @@ -line 1:0 mismatched input 'println' expecting {, NL, ';', '@', '@file', 'package', 'import', 'class', 'interface', 'fun', 'object', 'val', 'var', 'typealias', 'in', 'out', '@field', '@property', '@get', '@set', '@receiver', '@param', '@setparam', '@delegate', 'public', 'private', 'protected', 'internal', 'enum', 'sealed', 'annotation', 'data', 'inner', 'tailrec', 'operator', 'inline', 'infix', 'external', 'suspend', 'override', 'abstract', 'final', 'open', 'const', 'lateinit', 'vararg', 'noinline', 'crossinline', 'reified', LabelReference} diff --git a/kotlin/kotlin/examples/script/preamble_nl.kts.errors b/kotlin/kotlin/examples/script/preamble_nl.kts.errors deleted file mode 100644 index b54988ebba..0000000000 --- a/kotlin/kotlin/examples/script/preamble_nl.kts.errors +++ /dev/null @@ -1 +0,0 @@ -line 6:0 mismatched input 'println' expecting {, NL, ';', '@', '@file', 'class', 'interface', 'fun', 'object', 'val', 'var', 'typealias', 'in', 'out', '@field', '@property', '@get', '@set', '@receiver', '@param', '@setparam', '@delegate', 'public', 'private', 'protected', 'internal', 'enum', 'sealed', 'annotation', 'data', 'inner', 'tailrec', 'operator', 'inline', 'infix', 'external', 'suspend', 'override', 'abstract', 'final', 'open', 'const', 'lateinit', 'vararg', 'noinline', 'crossinline', 'reified', LabelReference} diff --git a/kotlin/kotlin/examples/script/preamble_nl_semi.kts.errors b/kotlin/kotlin/examples/script/preamble_nl_semi.kts.errors deleted file mode 100644 index f7ed9453a3..0000000000 --- a/kotlin/kotlin/examples/script/preamble_nl_semi.kts.errors +++ /dev/null @@ -1 +0,0 @@ -line 6:0 extraneous input 'println' expecting {, NL, ';', '@', '@file', 'class', 'interface', 'fun', 'object', 'val', 'var', 'typealias', 'in', 'out', '@field', '@property', '@get', '@set', '@receiver', '@param', '@setparam', '@delegate', 'public', 'private', 'protected', 'internal', 'enum', 'sealed', 'annotation', 'data', 'inner', 'tailrec', 'operator', 'inline', 'infix', 'external', 'suspend', 'override', 'abstract', 'final', 'open', 'const', 'lateinit', 'vararg', 'noinline', 'crossinline', 'reified', LabelReference}