ff22c17784
new compile module does just that: compile Dispatch with visitor pattern no more patching into ast
16 lines
326 B
Ruby
16 lines
326 B
Ruby
require 'parslet'
|
|
|
|
module Parfait
|
|
eval(File.open("./lib/parfait/hash.rb").read)
|
|
end
|
|
|
|
require "compiler"
|
|
require "stream_reader"
|
|
require "elf/object_writer"
|
|
require 'salama-reader'
|
|
require 'parser/transform'
|
|
require "salama-object-file"
|
|
require "virtual/machine"
|
|
require "register/register_machine"
|
|
require "arm/arm_machine"
|