Ratslang
Configuration language for
building physical systems in Rust.
-
The unit is part of the value
36km/hand10m/sare the same speed on a type-level. A bound of@max 2mrejects250cm, whichever unit either side is written in. -
The default file is the schema
@type,@minand@enumcomments in your default check user files and drive completion and hover text in the editor. -
Deserialize into Rust structs
Serde reads values into
uomquantities, so a length stays a length without losing conversion accuracy. -
LSP for your editor
Completion, hover docs, diagnostics and quick fixes from the same schema rules the application checks. Set up for Helix, Neovim and VS Code.
Ratslang is intentionally small: assignments, references, namespaces, and includes.