Provides language support for the Maduka Authorization Specification Language (MASL) — a declarative ReBAC authorization schema language.
Features
- ✅ Syntax recognition —
.mdkfiles are highlighted as MASL. - ✅ Real-time diagnostics — compiler errors and warnings are shown inline as you type (powered by
maslc lsp). - ✅ Auto-closing brackets —
{,(are auto-closed. - ✅ Line comments —
Ctrl+/toggles//comments.
Requirements
The maslc compiler binary must be available in your PATH, or configured via the masl.compiler.path setting.
Build it from source:
cargo build --release --bin maslc
cp target/release/maslc /usr/local/bin/
Configuration
| Setting | Default | Description |
|---|---|---|
masl.compiler.path |
maslc |
Path to the maslc binary |
Development
See the project's editors/vscode/ directory for source code.
Run in development mode:
cd editors/vscode
npm install
npm run compile
# Then press F5 in VS Code to open an Extension Development Host