(eval-edamame-read-eval form)
Edamame, an edn parser, doesn't fully implement read-eval (aka #=
).
Edamame expands #=(foo bar)
to (edamame.core/read-eval (foo bar))
and
leave the actual eval action's responsibility to the user -
edamame.core/read-eval
does not resolve to any var.
The current function takes an edamame-parsed form, walk it and eval parsed #=
forms. Edamame must be invoked with {:read-eval true, :quote true}
options
to produce a form we can properly eval.
Doesn't preserve read-time metadata. We don't care about metadata in this specific case, because we only use this to read ns forms and we are not aware of any use case for metadata in ns forms applying to Electric
Edamame, an edn parser, doesn't fully implement read-eval (aka `#=`). Edamame expands `#=(foo bar)` to `(edamame.core/read-eval (foo bar))` and leave the actual eval action's responsibility to the user - `edamame.core/read-eval` does not resolve to any var. The current function takes an edamame-parsed form, walk it and eval parsed #= forms. Edamame must be invoked with `{:read-eval true, :quote true}` options to produce a form we can properly eval. Doesn't preserve read-time metadata. We don't care about metadata in this specific case, because we only use this to read ns forms and we are not aware of any use case for metadata in ns forms applying to Electric
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close