mora-lang
Installation
SKILL.md
Mora Core Language (.mr)
Guide for writing valid Mora code that passes mora check on the first run without syntax or tensor shape errors.
- For LLM agents, HTTP servers, JSON,
fs.*, or Python bridge: usemora-agents. - For Bytecode VM (
--vm),--native/--shared, C FFI, and quantized GGUF: usemora-native.
Core CLI
mora check file.mr [--json] # Parse, resolve imports, and verify types + tensor shapes
mora run file.mr [--trace] [--vm] # Execute via Interpreter or Bytecode VM
mora build file.mr -o app # Bundle project + runtime into a standalone executable
mora fmt file.mr... [--check] # Canonical formatting (preserves comments)
mora test [paths...] [--filter sub] # Run isolated `test "..." { ... }` blocks (`--json` supported)
mora lsp # LSP 3.17 server over stdio (used by `editors/`)