Home /Modules/ide/README.md

README.md

ide/sleela-intellij/README.md · 97 line(s) · markdown

<img align="right" src="https://github.com/mearvk/SLeeLa/blob/master/images/debian/debian-logo.png" width="75" height="75" alt="SLeeLa">

SLeeLa IDE Integration (IntelliJ Platform plugin)

First-class SLeeLa language support for the IntelliJ Platform, with mixed-language project integration for C, C++, and Java.

SLeeLa is a Java-like native systems language that compiles to bytecode on a Turing-complete C/C++ execution core. This plugin keeps the native SLeeLa compiler (Sleelvac™) authoritative: syntax, parsing, and diagnostics come from the real compiler, never a second grammar (see ../SLEELA.IDE.CONTRACT.md).

Features (v0.3.0-dev)

Editor

Developer actions (buttons, menus, shortcuts)

Run configurations

Tool window & onboarding

Architecture

Editor
  └─ SleelaLexer ──► compiler bridge tokens  (fallback: SleelaFallbackLexer, from SLEELA.syntax)
  └─ SleelaDiagnosticAnnotator ──► NativeSleelaCompilerBridge ──► `sleela check`
                                                                    └─ SleelaDiagnosticParser

The IDE never reimplements SLeeLa semantics. When the native compiler is not present, diagnostics report that fact rather than claiming the source is clean (SLEELA.IDE.CONTRACT.md, "Failure rule").

Requirements

Building

The Gradle wrapper jar is not committed (it is a binary that Gradle materializes on demand). On a networked machine, generate it once:

cd ide/sleela-intellij
gradle wrapper --gradle-version 9.8.0   # creates gradle/wrapper/gradle-wrapper.jar

Then build and run a sandbox IDE with the plugin:

./gradlew build          # compile + test
./gradlew runIde         # launch IntelliJ with the SLeeLa plugin loaded
./gradlew buildPlugin     # produce the installable plugin ZIP under build/distributions/

If ./gradlew is unavailable before the wrapper jar exists, use a local Gradle 9.x: gradle build (the IntelliJ Platform Gradle Plugin 2.19.0 requires Gradle 9.0.0 or newer).

Status

See ../VERSION.md for the IDE integration roadmap. Current: 0.3.0-dev — compiler diagnostics, highlighting, file-type/branding.

SLeeLa — MEARVK LLC — 2026