(compile-dsl dsl-code)(compile-dsl dsl-code env)Errors from the most recent compile-dsl call. Inspect at the REPL after a failed compilation.
Errors from the most recent compile-dsl call. Inspect at the REPL after a failed compilation.
(padded-graph-helper body)Partition a padded-graph body into input labels, the body expression, and output labels.
A padded graph has the form [[in-label*] expr [out-label*]]. This function walks the AST nodes and collects:
Uses a boolean flag to track whether the walker has crossed from the input-label region into the body-expression region. Once the first non-label node is encountered, the flag flips and all subsequent labels are classified as output labels.
Partition a padded-graph body into input labels, the body expression, and output labels. A padded graph has the form [[in-label*] expr [out-label*]]. This function walks the AST nodes and collects: - :input — label nodes before the first non-label expression - :expr — the single body expression (filter, chain, or graph reference) - :output — label nodes after the body expression Uses a boolean flag to track whether the walker has crossed from the input-label region into the body-expression region. Once the first non-label node is encountered, the flag flips and all subsequent labels are classified as output labels.
(run-ast program-ast env)(transform-ast node env)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |