Explore the Grammar-Kit Module Layout
masterThe project is a multi-module Gradle build. Understanding the dependencies helps in knowing where specific logic resides:
| Module | Purpose |
|---|---|
:base | Shared infrastructure (i18n, icons, messages). |
:parser-runtime | Language-agnostic parser runtime (contains GeneratedParserUtilBase). |
:bnf-language | BNF language model, PSI, and semantic utilities (BnfRules, BnfAttributes, BnfAst). |
:jflex-language | JFlex language support (PSI, parser, editor). |
:generator | Code emission logic (Generator, JavaParserGenerator, KotlinParserGenerator) and headless CLI (Main.java). |
| Root project | The IntelliJ IDE plugin (UI, actions, inspections, live preview). |