timmy@/home/timmy/src/slate/cslate% ./vm
(123 + 442) print
interpreting...
Interpreting ip:
object at 0x65baf0
type: 15, bytecode
bytecode type: 0, push
object:
object at 0x65bf50
type: 1, small int
value: 123
next bytecode:
object at 0x65ba80
type: 15, bytecode
bytecode type: 0, push
object:
next bytecode:
push stack
Interpreting ip:
object at 0x65ba80
type: 15, bytecode
bytecode type: 0, push
object:
object at 0x65be70
type: 1, small int
value: 442
next bytecode:
object at 0x65ba10
type: 15, bytecode
bytecode type: 2, message send
selector:
argument count:
next bytecode:
push stack
Interpreting ip:
object at 0x65ba10
type: 15, bytecode
bytecode type: 2, message send
selector:
object at 0x65bee0
type: 9, symbol
intern value: 0
intern string: +
argument count:
object at 0x65b9a0
type: 1, small int
value: 2
next bytecode:
object at 0x65b930
type: 15, bytecode
bytecode type: 2, message send
selector:
argument count:
next bytecode:
send message
lookup selector:
object at 0x65bee0
type: 9, symbol
intern value: 0
intern string: +
prim plus
Interpreting ip:
object at 0x65b930
type: 15, bytecode
bytecode type: 2, message send
selector:
object at 0x65bcb0
type: 9, symbol
intern value: 1
intern string: print
argument count:
object at 0x65b8c0
type: 1, small int
value: 1
next bytecode:
object at (nil)
send message
lookup selector:
object at 0x65bcb0
type: 9, symbol
intern value: 1
intern string: print
----------------
object at 0x65b230
type: 1, small int
value: 565
----------------
IP = NULL, exiting...