9a1e4a6f27
so we don’t have to deal with arrays (as a special case) and use method sending as is good oo
20 lines
331 B
Ruby
20 lines
331 B
Ruby
require "parser/ruby22"
|
|
require "logging"
|
|
require "elf/object_writer"
|
|
require "ast"
|
|
|
|
AST::Node.class_eval do
|
|
def first
|
|
children.first
|
|
end
|
|
end
|
|
|
|
require "rubyx-object-file"
|
|
require "risc"
|
|
require "risc/builtin/space"
|
|
require "arm/arm_machine"
|
|
require "arm/translator"
|
|
require "common/statements"
|
|
require "vool"
|
|
require "mom"
|