insn 0.5.4
Released under the Eclipse Public License
Functional JVM bytecode generation for Clojure.
Installation
To install, add the following dependency to your project or build file:
[insn "0.5.4"]
Namespaces
insn.clojure
Generate Clojure fns whose bodies are specified as bytecode.
insn.op
Bytecode helpers. Fns for opcodes with an underscore in their name (e.g., IF_ICMPEQ) use a dash instead (e.g., if-icmpeq).
Public variables and functions:
- aaload
- aastore
- aconst-null
- aload
- anew
- anewarray
- areturn
- arraylength
- astore
- athrow
- baload
- bastore
- bipush
- caload
- castore
- checkcast
- compile
- d2f
- d2i
- d2l
- dadd
- daload
- dastore
- dcmpg
- dcmpl
- dconst-0
- dconst-1
- ddiv
- dload
- dmul
- dneg
- drem
- dreturn
- dstore
- dsub
- dup
- dup-x1
- dup-x2
- dup2
- dup2-x1
- dup2-x2
- f2d
- f2i
- f2l
- fadd
- faload
- fastore
- fcmpg
- fcmpl
- fconst-0
- fconst-1
- fconst-2
- fdiv
- fload
- fmul
- fneg
- frem
- freturn
- fstore
- fsub
- getfield
- getstatic
- goto
- i2b
- i2c
- i2d
- i2f
- i2l
- i2s
- iadd
- iaload
- iand
- iastore
- iconst-0
- iconst-1
- iconst-2
- iconst-3
- iconst-4
- iconst-5
- iconst-m1
- idiv
- if-acmpeq
- if-acmpne
- if-icmpeq
- if-icmpge
- if-icmpgt
- if-icmple
- if-icmplt
- if-icmpne
- ifeq
- ifge
- ifgt
- ifle
- iflt
- ifne
- ifnonnull
- ifnull
- iinc
- iload
- imul
- ineg
- instanceof
- invokedynamic
- invokeinterface
- invokespecial
- invokestatic
- invokevirtual
- ior
- irem
- ireturn
- ishl
- ishr
- istore
- isub
- iushr
- ixor
- jsr
- l2d
- l2f
- l2i
- ladd
- laload
- land
- lastore
- lcmp
- lconst-0
- lconst-1
- ldc
- ldc2
- ldiv
- line-number
- lload
- lmul
- lneg
- local-variable
- lookupswitch
- lookupswitch*
- lor
- lrem
- lreturn
- lshl
- lshr
- lstore
- lsub
- lushr
- lxor
- mark
- monitorenter
- monitorexit
- multianewarray
- new
- newarray
- nop
- op-seq
- pop
- pop1
- pop2
- putfield
- putstatic
- ret
- return
- saload
- sastore
- sipush
- swap
- tableswitch
- trycatch
- visit-label!