├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml ├── pull_request_template.md └── workflows │ ├── build.yml │ ├── release.yml │ └── test-report.yml ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── qodana.yml ├── settings.gradle.kts └── src ├── main └── kotlin │ └── org │ └── jetbrains │ └── grammarkit │ ├── GrammarKitConstants.kt │ ├── GrammarKitPlugin.kt │ ├── GrammarKitPluginExtension.kt │ ├── tasks │ ├── GenerateLexerTask.kt │ └── GenerateParserTask.kt │ ├── utils.kt │ └── zip.kt └── test ├── kotlin └── org │ └── jetbrains │ └── grammarkit │ ├── GrammarKitPluginBase.kt │ ├── GrammarKitPluginSpec.kt │ └── tasks │ ├── GenerateLexerTaskSpec.kt │ └── GenerateParserTaskSpec.kt └── resources ├── generateLexer ├── Example.flex └── idea-flex.skeleton └── generateParser └── Example.bnf /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/.github/workflows/test-report.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | build/ 3 | .gradle/ -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/README.md -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/libs.versions.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/gradle/libs.versions.toml -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/gradlew.bat -------------------------------------------------------------------------------- /qodana.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/qodana.yml -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/settings.gradle.kts -------------------------------------------------------------------------------- /src/main/kotlin/org/jetbrains/grammarkit/GrammarKitConstants.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/main/kotlin/org/jetbrains/grammarkit/GrammarKitConstants.kt -------------------------------------------------------------------------------- /src/main/kotlin/org/jetbrains/grammarkit/GrammarKitPlugin.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/main/kotlin/org/jetbrains/grammarkit/GrammarKitPlugin.kt -------------------------------------------------------------------------------- /src/main/kotlin/org/jetbrains/grammarkit/GrammarKitPluginExtension.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/main/kotlin/org/jetbrains/grammarkit/GrammarKitPluginExtension.kt -------------------------------------------------------------------------------- /src/main/kotlin/org/jetbrains/grammarkit/tasks/GenerateLexerTask.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/main/kotlin/org/jetbrains/grammarkit/tasks/GenerateLexerTask.kt -------------------------------------------------------------------------------- /src/main/kotlin/org/jetbrains/grammarkit/tasks/GenerateParserTask.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/main/kotlin/org/jetbrains/grammarkit/tasks/GenerateParserTask.kt -------------------------------------------------------------------------------- /src/main/kotlin/org/jetbrains/grammarkit/utils.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/main/kotlin/org/jetbrains/grammarkit/utils.kt -------------------------------------------------------------------------------- /src/main/kotlin/org/jetbrains/grammarkit/zip.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/main/kotlin/org/jetbrains/grammarkit/zip.kt -------------------------------------------------------------------------------- /src/test/kotlin/org/jetbrains/grammarkit/GrammarKitPluginBase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/test/kotlin/org/jetbrains/grammarkit/GrammarKitPluginBase.kt -------------------------------------------------------------------------------- /src/test/kotlin/org/jetbrains/grammarkit/GrammarKitPluginSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/test/kotlin/org/jetbrains/grammarkit/GrammarKitPluginSpec.kt -------------------------------------------------------------------------------- /src/test/kotlin/org/jetbrains/grammarkit/tasks/GenerateLexerTaskSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/test/kotlin/org/jetbrains/grammarkit/tasks/GenerateLexerTaskSpec.kt -------------------------------------------------------------------------------- /src/test/kotlin/org/jetbrains/grammarkit/tasks/GenerateParserTaskSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/test/kotlin/org/jetbrains/grammarkit/tasks/GenerateParserTaskSpec.kt -------------------------------------------------------------------------------- /src/test/resources/generateLexer/Example.flex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/test/resources/generateLexer/Example.flex -------------------------------------------------------------------------------- /src/test/resources/generateLexer/idea-flex.skeleton: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/test/resources/generateLexer/idea-flex.skeleton -------------------------------------------------------------------------------- /src/test/resources/generateParser/Example.bnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JetBrains/gradle-grammar-kit-plugin/HEAD/src/test/resources/generateParser/Example.bnf --------------------------------------------------------------------------------