Executable: https://www.dropbox.com/s/0a5vmkwsw9bsfbd/Byte%20code.exe?dl=0GM:Studio: https://www.dropbox.com/s/a9qa0pn9s9gzhz2/Byte%20code.gmz?dl=0Here are the examples:Hello World Program
m "Hello" =
m m " World!" + =
m m " Yay!" + =
Resulting “readable byte code”m"Hello"=mm" World!"+=mm" Yay!"+=
Real byte codeThe real byte code consists of the “readable” byte code, with each symbol replaced with its equivalent byte code representation.
N/A yet.
Simple printing array contents
l "This" "is" , "an" , "array" , =
s "" =
s s a l 0 @ = + " " + =
s s b l 1 @ = + " " + =
s s c l 2 @ = + " " + =
s s d l 3 @ = + =
Resulting “readable byte code”l"This""is","an","array",=s""=ssal0@=+" "+=ssbl1@=+" "+=sscl2@=+" "+=ssdl3@=+=ss"."+=as"."+=
Real byte codeN/A yet.
Drawing functions
x 0 #P0=
y 384 #P0=
{
2 0 , xx1+= , y , #P0_draw_sprite
_null #P0_refresh
} U {
x 1024 >
}
Resulting “readable byte code”x0#P0=y384#P0={2 0 , xx1+= , y , #P0_draw_sprite _null #P0_refresh}U{x1024>}
Real byte codeN/A yet.
Non-single-character variable names and GM functions start with an underscore (_), add #P0 (= don't push) before a function name or assignment operator to avoid pushing unwanted values to the stack.