Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
L4 is a domain-specific programming language for law by Legalese. It formalizes legal rules and contracts as executable specifications, bringing software engineering rigor to legal drafting and analysis.
This repository contains the L4 compiler, IDE tooling (VS Code extension, LSP, REPL, web editor), and a decision service that exposes L4 rules as REST APIs and MCP tools.
@export annotationsHaskell (Cabal):
| Package | Purpose |
|---|---|
| jl4-core | Core language (parser, typechecker, evaluator) |
| jl4 | CLI tool and JSON schema generator |
| jl4-lsp | Language Server Protocol for IDE support |
| jl4-repl | Interactive REPL |
| jl4-service | REST API for decision evaluation |
| jl4-query-plan | Query planning utilities |
| jl4-actus-analyzer | Static analyzer classifying L4 contracts by ACTUS / FIBO |
| jl4-wasm | WebAssembly build of L4 for browser/Node.js |
| jl4-mlir | MLIR/WASM compiler backend: L4 → .wasm decision binary |
TypeScript (npm workspaces + Turborepo):
| Package | Purpose |
|---|---|
| ts-apps/vscode | VS Code extension |
| ts-apps/jl4-web | Web-based editor (Svelte) |
| ts-shared | Shared libraries (RPC client, visualizers) |
Documentation: The language reference, tutorials, courses, and concept guides are published at legalese.com/l4; their source is in doc/.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub legalese/l4-ide --plugin l4-computational-lawPlugins from other owners that cover similar ground