The rich syntax of the lambda-calculus implemented by LaTTe.
The rich syntax of the lambda-calculus implemented by LaTTe.
(left-binarize t)
Binarization (sic!) of an application.
Binarization (sic!) of an application.
(parse t)
(parse def-env t)
Parse term t
in definitional environment def-env
(empty by default).
Parse term `t` in definitional environment `def-env` (empty by default).
(parse-arrow-term def-env t bound)
Parse an arrow type.
Parse an arrow type.
(parse-binder-term def-env binder t bound)
Parse the binding vector of an abstraction form.
Parse the binding vector of an abstraction form.
(parse-binding def-env v bound)
Parse an abstraction binding form.
Parse an abstraction binding form.
(parse-compound-term def-env t bound)
Parses t
as a compound term.
Parses `t` as a compound term.
(parse-defined-term def-env sdef t bound)
Parse a defined term.
Parse a defined term.
(parse-lambda-term def-env t bound)
Parse a lambda abstraction.
Parse a lambda abstraction.
(parse-product-term def-env t bound)
Parse a production abstraction.
Parse a production abstraction.
(parse-term def-env t)
(parse-term def-env t bound)
Parses the input term t
in definitional environment def-env
and
set of bound variables bound
.
The function returns a pair with the keyword :ok
and the parsed term if the
parse was successful, else :ko
followed by a parse error.
Parses the input term `t` in definitional environment `def-env` and set of bound variables `bound`. The function returns a pair with the keyword `:ok` and the parsed term if the parse was successful, else `:ko` followed by a parse error.
(parse-terms def-env ts bound)
Parse a sequence ts
of terms.
Parse a sequence `ts` of terms.
(reserved-symbol? s)
Is s
a reserved symbol?
Is `s` a reserved symbol?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close