/plcc-intellij

An Intellij platform plugin for PLCC

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

plcc-intellij

An Intellij platform plugin for PLCC.

Features

Check out the feature list. Each link has a tutorial.

Install and Run

From Jetbrains Marketplace

Search for PLCC

From Source

  • Check out this repo
  • Open it with Intellij, wait for Gradle project to be imported
  • Install the Grammar-Kit plugin if not installed already
  • Right click on the following files and select 'Generate Parser Code'
    • src/main/grm_lex/plcc/plcc.bnf
    • src/main/grm_lex/ijava/ijava.bnf
  • Right click on the following files and select 'Run JFlex Generator'. If this is your first time running the JFlex generator, you may be prompted for a directory to install JFlex in. Select the project's root directory.
    • src/main/grammar/plcc/plcc.flex
    • src/main/grammar/ijava/ijava.flex
  • Create a Gradle Run Configuration that runs the Gradle task :runIde
  • Click the run button to start an IDE instance with the plugin installed on it. You may have to wait for a Intellij instance to download from the internet which may take a while.