The subset
The Fluent Metanorma needs, exactly.
Rhoella is deliberately minimal, but the part it implements is held to upstream ground truth: the cross-implementation parser fixtures and the fluent-rs behavior fixtures. Where the river meets a stone — missing variables, cycles, unknown references — the fallback shape is the upstream one, not ours.
id = pattern
Message
ids are [A-Za-z][A-Za-z0-9_-]*; terms carry a leading dash.
label-note = Note 4 to entry
id.attr = pattern
Attribute
Indented .attr = lines open attribute sections; member references resolve them.
-product = Metanorma .tagline = the standard
{ $var }
Variable
Never callable; missing variables render {$name} and resolution continues.
Note { $n } to entry{ id } · { id.attr }
Reference / member
Unknown messages and attributes fall back to their source form.
See { key.attr } details.{ -term } · { -term(key: $v) }
Term + parameters
Named arguments bind as variables inside the term, without the outer variables.
{ -product(full: "ISO") }{ FN(args) }
Function
UPPERCASE callee, mandatory parentheses; a minimal engine registers no builtins, so an unknown function renders {FN()}.
{ NUMBER($n, min: 2) }{ expr -> [key] … *[other] … }
Selector
Exact string matching on the rendered selector; the default arm is mandatory. Selectors may be variables, literals, member and term attributes.
{ $count ->
[one] One
*[other] Many
}{"text"} · {1.5}
Literals
String literals decode as UTF-16 with \" \\ \uXXXX and \UXXXXXX; text has no escapes — backslash is literal, per the Fluent grammar.
{"\u01F602"}