rubyx/lib/vm
2014-05-18 10:15:43 +03:00
..
block.rb aliased add_code to <<, to give a bit of the stream feel 2014-05-18 10:15:43 +03:00
c_machine.rb rename left to first in instruction and started on logic instruction cleanup 2014-05-16 10:42:25 +03:00
call_site.rb fix register issues, some typos 2014-05-14 22:04:03 +03:00
code.rb crystal says Hello. 2014-05-06 21:36:28 +03:00
constants.rb checkpointing on the mad road to register allocation 2014-05-13 18:21:24 +03:00
context.rb work on Integer.to_s , not a simple task as it turns out 2014-05-15 16:54:23 +03:00
function.rb renaming update_status_flag to just update_status 2014-05-16 19:56:13 +03:00
instruction.rb rename left to first in instruction and started on logic instruction cleanup 2014-05-16 10:42:25 +03:00
program.rb work on Integer.to_s , not a simple task as it turns out 2014-05-15 16:54:23 +03:00
README.markdown created own directory for parser 2014-04-27 15:38:07 +03:00
values.rb rename left to first in instruction and started on logic instruction cleanup 2014-05-16 10:42:25 +03:00

Virtual Machine

This is the logic that uses the generated ast to produce code, using the asm layer.

Apart from shuffeling things around from one layer to the other, it keeps track about registers and provides the stack glue. All the stuff a compiler would usually do.

Also all syscalls are abstracted as functions.