dwelling/ folder from the tutorial, run cd dwelling alone.
The command reference lists every command and every option.
Check a rater
FAIL and one message for each problem. Each message carries a code, the file position, and a suggested fix.
Checks and guarantees describes what a passing check establishes.
Review the source interpretation and test independent examples to establish filing fidelity.
Explain a check message
Pass a message’s code torslc explain:
Format the source
Apply the standard layout:FORMATTED rater.rsl.
To check formatting while preserving the file:
Package a rater
After the rater passes its checks, export a bundle:rater-manifest.json and runtime/rslc_wasm.wasm beside the source.
The bundle includes a book schema and an identity prepare function derived from the native rater’s input schema.
The book follows the rater’s own inputs. Structural IDs identify submissions and list items; names that collide receive distinct table or column names.
Load the bundle with Program.load and inspect program.schema for its tables and columns.
The generated prepare passes those values to the native rater. Package a program describes custom preparation and regression examples.
Bundle contents
Bundle contents
A rater that imports other RSL files or reads enum members from
enums/*.csv carries those files too.Read the reference in your terminal
rslc docs prints the reference for the installed version:
rslc docs round explains one function, and rslc examples lists the example raters.
Use commands in scripts
Each command reports its result in its exit status:
Add
--json for structured output:
ok, diagnostics, cost, and other details.
Use --help to inspect a command’s options: