rubyx/lib/vm
2014-05-13 17:06:42 +03:00
..
block.rb rename machine to c_machine 2014-05-13 17:06:42 +03:00
c_machine.rb rename machine to c_machine 2014-05-13 17:06:42 +03:00
code.rb crystal says Hello. 2014-05-06 21:36:28 +03:00
constants.rb introduce constant class and add block to compile signature(wip, work in progress) 2014-05-13 16:24:19 +03:00
context.rb move kernel to core and apply the classmethod pattern to all core classes 2014-05-06 12:47:07 +03:00
function_call.rb rename machine to c_machine 2014-05-13 17:06:42 +03:00
function.rb adds variable, something compliles , but... 2014-05-10 17:55:02 +03:00
instruction.rb cleanup 2014-05-05 15:59:29 +03:00
program.rb rename machine to c_machine 2014-05-13 17:06:42 +03:00
README.markdown created own directory for parser 2014-04-27 15:38:07 +03:00
values.rb introduce constant class and add block to compile signature(wip, work in progress) 2014-05-13 16:24:19 +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.