Analyzer for clojure code, host agnostic.
Entry point:
Platform implementers must provide dynamic bindings for:
See lucid.legacy.analyzer.core-test for an example on how to setup the analyzer.
Analyzer for clojure code, host agnostic. Entry point: * analyze Platform implementers must provide dynamic bindings for: * macroexpand-1 * parse * create-var * var? See lucid.legacy.analyzer.core-test for an example on how to setup the analyzer.
(analyze-fn-method [params & body :as form] {:keys [locals local] :as env})
(analyze-let [op bindings & body :as form] {:keys [context loop-id] :as env})
(create-var sym env)
Creates a var for sym and returns it
Creates a var for sym and returns it
(macroexpand-1 form env)
If form represents a macro form, returns its expansion, else returns form.
If form represents a macro form, returns its expansion, else returns form.
(parse [op & args] env)
Multimethod that dispatches on op, should default to -parse
Multimethod that dispatches on op, should default to -parse
Set of special forms common to every clojure variant
Set of special forms common to every clojure variant
(var? obj)
Returns true if obj represent a var form as returned by create-var
Returns true if obj represent a var form as returned by create-var
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close