Liking cljdoc? Tell your friends :D
All platforms.

meme.alpha.runtime.run

Run .meme files: read, eval, return last result.

Run .meme files: read, eval, return last result.
raw docstring

run-fileclj/s

(run-file path)
(run-file path eval-fn-or-opts)

Read and eval a file. Returns the last result. Auto-detects guest language from file extension via the registry. Second arg can be an eval-fn (backward compat) or an opts map.

Read and eval a file. Returns the last result.
Auto-detects guest language from file extension via the registry.
Second arg can be an eval-fn (backward compat) or an opts map.
sourceraw docstring

run-stringclj/s

(run-string s)
(run-string s eval-fn-or-opts)

Read meme source string, eval each form, return the last result. Strips shebang lines from source before parsing. opts: :eval — eval fn (default: eval; required on CLJS) :resolve-keyword — fn to resolve :: keywords at read time :rewrite-rules — vector of rewrite rules (applied after expansion) :rewrite-max-iters — max rewrite iterations (default: 100) :prelude — vector of forms to eval before user code

Read meme source string, eval each form, return the last result.
Strips shebang lines from source before parsing.
opts:
  :eval              — eval fn (default: eval; required on CLJS)
  :resolve-keyword   — fn to resolve :: keywords at read time
  :rewrite-rules     — vector of rewrite rules (applied after expansion)
  :rewrite-max-iters — max rewrite iterations (default: 100)
  :prelude           — vector of forms to eval before user code
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close