5fe0ba06ab
moving on to getting mom to work and can’t have both interpreter and elf broke, about 100 tests went
25 lines
364 B
Ruby
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"
|