295782d9e6
start with syntax tree, not linked into existing code until finished
18 lines
299 B
Ruby
18 lines
299 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 "risc"
|
|
require "risc/builtin/space"
|
|
require "arm/arm_machine"
|
|
require "arm/translator"
|
|
require "rubyx/ruby_compiler"
|
|
require "vool.rb"
|