Avarel / Kaiper

Functional scripting in Java.
Apache License 2.0
10 stars 0 forks source link

Full Bytecode Implementation. #5

Closed NotJustAnna closed 7 years ago

NotJustAnna commented 7 years ago

Made in around about 6 hours?

Includes a test class with some byte manipulation examples.

Bytecode generation is xyz.avarel.aje.ast.Expr#bytecode.

Bytecode reading is xyz.avarel.aje.bytecode.deserialization.ExprDeserializer#deserializeAll

Bytecode viewing (Outline) is xyz.avarel.aje.bytecode.viewer.ExprViewer#view

Bytecode Instructions are listed at the enum xyz.avarel.aje.bytecode.Bytecode (the enum's ordinal is used as the bytecode id)

NotJustAnna commented 7 years ago

(Also for some bizarre reason IntelliJ kept all comments idented with tabs ¬¬)