Spel parsers.
val desugar : Spel_t.expression ‑> Spel_t.expression
desugar expr
expands shorthand syntax for variables, entities
and intents into their underlying Spel expressions.
val resugar : Spel_t.expression ‑> Spel_t.expression
desugar expr
re-introduces shorthand syntax for variables,
entities and intents.
val expr_from_string : string ‑> Spel_t.expression
expr_from_string s
parses string s
as spel expression
val quoted_expr_from_file : string ‑> Spel_t.expression
quoted_expr_from_file f
parses file f
as text containing
quoted spel expressions
val quoted_expr_from_string : string ‑> Spel_t.expression
quoted_expr_from_string f
parses string s
as text containing
quoted spel expression