JMU Specification
Versions
- Reference implementation in Rust: Visit
- Reference implementation in Zig: Visit
- Specification version: 20260501
Preamble
JMU is short for "Jirai MarkUp Language". JMU is a data language consisting of a list or map of key-value pairings.
Supported Data Types
- Boolean values: Boolean values can only be written as either
trueorfalse. - Integer values: Integer values are simply numbers and do not need delimiters.
- Floating-point number values: Floating-point values are simply floating-point numbers and do not need delimiters.
- String values: String values must be surrounded by double quotes and contain text.
- Lists of values: Lists are enclosed by square brackets and values are separated by a comma.
Miscellaneaous Rules
- Keys for values can only be strings.
- Each key-value mapping must start and end on the same line.
- Assignments are done via the
>˜<operator. - Assignments can be nested. The start and end of a nested section is marked by the
|operator. - JMU documents must end in the
.jmufile extension. - Comments start with the
#symbol and must end with the newline character.