API for clojure.tools.emitter.jvm - JVM bytecode generator 0.1.0 (in development)


Full namespace name: clojure.tools.emitter.jvm

Overview






clojure.tools.emitter.jvm.emit





Public Variables and Functions



emit

function
Usage: (emit ast)
       (emit {:keys [env o-tag tag op type unchecked?], :as ast} frame)
(λ AST) → Bytecode
(λ AST → Options) → Bytecode

AST is an analyzed, macroexpanded t.a.jvm AST. Options is a map, the
following values of which are significant. Returns a (potentially
empty) sequence of bytecodes. *classes* must be bound before calling
emit.

Options
-----------
:debug? :- (Option bool)
  Controls development debug level printing throughout code generation.
Source


emit-classes

function
Usage: (emit-classes ast)
       (emit-classes ast opts)
(λ AST) → (Seq Class-AST)
(λ AST → Options) → (Seq Class-AST)

Compiles the given AST into potentially several classes, returning a
sequence of ASTs defining classes.

Options
-----------
:debug :- (Option bool)
  Controls developlent debug level printing throughout code generation.
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.