Skip to content

kisman2000/bytecoder

Repository files navigation

Bytecoder

Shit that converts simple java code to asm opcodes

Originally made for LavaHack

Usage

  1. Download bytecoder or build them yourself
  2. Execute chmod +x bytecoder-VERSION.jar if you're on Linux
  3. Run bytecoder-VERSION.jar
  4. Place java code in the first text area
  5. Press Covert to bytecode button at the bottom of window
  6. Wait while bytecoder converts your code
  7. Take opcodes from the second text area
  8. Change phantom class names to real ones

We are

Interpreting only if statements without else blocks

Interpreting =/+=/-=/*=//= operators

Interpreting +/-/*///&/| operators(WIP, may not work)

Interpreting class/field/method calls

Future of java interpreter

Support of for/do-while/if-else/if-else-if statements

Stable support of +/-/*///&/| operators

Support of mappings(for block game)

Future of instruction parser

Support of LabelNode

Code conversation to java/kotlin objectweb2 code