rubyx/lib/risc.rb
Torsten Ruger 5fe0ba06ab stash old vm
moving on to getting mom to work and can’t have both
interpreter and elf broke, about 100 tests  went
2018-03-11 17:02:42 +05:30

25 lines
364 B
Ruby

class String
def camelize
self.split("_").collect( &:capitalize ).join
end
end
require "risc/padding"
require "risc/positioned"
require "parfait"
require "risc/machine"
require "risc/method_compiler"
class Fixnum
def fits_u8?
self >= 0 and self <= 255
end
end
require "risc/instruction"
require "risc/register_value"
require "risc/assembler"