7abd777d05
melon was still from the salama days and rubyx describes it much better
18 lines
290 B
Ruby
18 lines
290 B
Ruby
require "logging"
|
|
require "elf/object_writer"
|
|
require "ast"
|
|
|
|
AST::Node.class_eval do
|
|
def first
|
|
children.first
|
|
end
|
|
end
|
|
|
|
require "salama-object-file"
|
|
require "register"
|
|
require "register/builtin/space"
|
|
require "arm/arm_machine"
|
|
require "arm/translator"
|
|
|
|
require "rubyx/ruby_compiler"
|