775bca50ac
using instance methods instead of context
18 lines
323 B
Ruby
18 lines
323 B
Ruby
require 'parslet'
|
|
|
|
require "stream_reader"
|
|
require "elf/object_writer"
|
|
require 'salama-reader'
|
|
AST::Node.class_eval do
|
|
def first
|
|
children.first
|
|
end
|
|
end
|
|
|
|
require 'parser/transform'
|
|
require "salama-object-file"
|
|
require "virtual"
|
|
require "register/register"
|
|
require "register/builtin/object"
|
|
require "arm/arm_machine"
|