(children? e)
True if there is more than one child
True if there is more than one child
(clean tree)
Cut the names of the attrs of the tree TODO: save the meta!
Cut the names of the attrs of the tree TODO: save the meta!
(compact tree)
Given a parse tree, it will compact all the text in it, and return a single string
Given a parse tree, it will compact all the text in it, and return a single string
(defexpr* parser-tag record-class separator-tag)
Generalize defmethod
for the cases in which we need to do
something like:
Expr a b
and recur with left-precedenceGeneralize `defmethod` for the cases in which we need to do something like: - if there's one remove this tag - if there's multiple create an `Expr a b` and recur with left-precedence
Dhall parser generated by Instaparse from the ABNF grammar
Dhall parser generated by Instaparse from the ABNF grammar
Takes an enlive parse tree, and constructs a tree of objects implementing IExpr
Takes an enlive parse tree, and constructs a tree of objects implementing IExpr
(first-child-expr e)
Folds the current expression into its first child
Folds the current expression into its first child
The Dhall grammar specified in ABNF
The Dhall grammar specified in ABNF
(parse dhall-string)
Parses the Dhall input, on success returns an Enlive-style tree. Throws on a failed parse.
Parses the Dhall input, on success returns an Enlive-style tree. Throws on a failed parse.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close