hara.common.emit
default-grammar
added in 4.0
(default-grammar & [m])returns the default grammar
(emit/default-grammar) => map?
emit-main
added in 4.0
(emit-main form grammar mopts)creates the raw emit with loop
(emit/emit-main ’(not (+ 1 2 3)) +grammar+ {}) => “!(1 + 2 + 3)”
emit-main-loop
added in 4.0
(emit-main-loop form grammar mopts)creates the raw emit
(emit/emit-main-loop ’(not (+ 1 2 3)) +grammar+ {}) => “!((+ 1 2 3))”
with:emit
macro
added in 4.0
(with:emit & body)binds the top-level emit function to common/emit-fn
(emit/with:emit (common/emit-fn ’(not (+ 1 2 3)) +grammar+ {})) => “!(1 + 2 + 3)”