clean up requires a bit

This commit is contained in:
Torsten Ruger 2018-03-13 16:57:24 +05:30
parent 698de13d65
commit a3890afc20
5 changed files with 20 additions and 21 deletions

View File

@ -1,2 +0,0 @@
require_relative "common/list"
require_relative "common/statements"

View File

@ -14,5 +14,5 @@
module Mom module Mom
end end
require_relative "mom/instruction/instruction.rb" require_relative "instruction/instruction.rb"
require_relative "mom/statement/statement.rb" require_relative "statement/statement.rb"

View File

@ -5,12 +5,12 @@ class String
end end
require "risc/padding" require_relative "risc/padding"
require "risc/positioned" require_relative "risc/positioned"
require "parfait" require "parfait"
require "risc/machine" require_relative "risc/machine"
require "risc/method_compiler" require_relative "risc/method_compiler"
class Fixnum class Fixnum
def fits_u8? def fits_u8?
@ -19,6 +19,7 @@ class Fixnum
end end
require "risc/instruction" require_relative "risc/instruction"
require "risc/register_value" require_relative "risc/register_value"
require "risc/assembler" require_relative "risc/assembler"
require_relative "risc/builtin/space"

View File

@ -1,6 +1,4 @@
require "parser/ruby22" require "parser/ruby22"
require "logging"
require "elf/object_writer"
require "ast" require "ast"
AST::Node.class_eval do AST::Node.class_eval do
@ -10,10 +8,13 @@ AST::Node.class_eval do
end end
require "rx-file" require "rx-file"
require "risc"
require "risc/builtin/space" require_relative "logging"
require "arm/arm_machine" require_relative "elf/object_writer"
require "arm/translator" require_relative "risc"
require "common" require_relative "arm/arm_machine"
require "vool" require_relative "arm/translator"
require "mom" require_relative "common/list"
require_relative "common/statements"
require_relative "vool/vool_compiler"
require_relative "mom/mom"

View File

@ -1 +0,0 @@
require_relative "vool/vool_compiler"