clean up requires a bit
This commit is contained in:
parent
698de13d65
commit
a3890afc20
@ -1,2 +0,0 @@
|
||||
require_relative "common/list"
|
||||
require_relative "common/statements"
|
@ -14,5 +14,5 @@
|
||||
module Mom
|
||||
end
|
||||
|
||||
require_relative "mom/instruction/instruction.rb"
|
||||
require_relative "mom/statement/statement.rb"
|
||||
require_relative "instruction/instruction.rb"
|
||||
require_relative "statement/statement.rb"
|
15
lib/risc.rb
15
lib/risc.rb
@ -5,12 +5,12 @@ class String
|
||||
end
|
||||
|
||||
|
||||
require "risc/padding"
|
||||
require "risc/positioned"
|
||||
require_relative "risc/padding"
|
||||
require_relative "risc/positioned"
|
||||
|
||||
require "parfait"
|
||||
require "risc/machine"
|
||||
require "risc/method_compiler"
|
||||
require_relative "risc/machine"
|
||||
require_relative "risc/method_compiler"
|
||||
|
||||
class Fixnum
|
||||
def fits_u8?
|
||||
@ -19,6 +19,7 @@ class Fixnum
|
||||
end
|
||||
|
||||
|
||||
require "risc/instruction"
|
||||
require "risc/register_value"
|
||||
require "risc/assembler"
|
||||
require_relative "risc/instruction"
|
||||
require_relative "risc/register_value"
|
||||
require_relative "risc/assembler"
|
||||
require_relative "risc/builtin/space"
|
||||
|
19
lib/rubyx.rb
19
lib/rubyx.rb
@ -1,6 +1,4 @@
|
||||
require "parser/ruby22"
|
||||
require "logging"
|
||||
require "elf/object_writer"
|
||||
require "ast"
|
||||
|
||||
AST::Node.class_eval do
|
||||
@ -10,10 +8,13 @@ AST::Node.class_eval do
|
||||
end
|
||||
|
||||
require "rx-file"
|
||||
require "risc"
|
||||
require "risc/builtin/space"
|
||||
require "arm/arm_machine"
|
||||
require "arm/translator"
|
||||
require "common"
|
||||
require "vool"
|
||||
require "mom"
|
||||
|
||||
require_relative "logging"
|
||||
require_relative "elf/object_writer"
|
||||
require_relative "risc"
|
||||
require_relative "arm/arm_machine"
|
||||
require_relative "arm/translator"
|
||||
require_relative "common/list"
|
||||
require_relative "common/statements"
|
||||
require_relative "vool/vool_compiler"
|
||||
require_relative "mom/mom"
|
||||
|
@ -1 +0,0 @@
|
||||
require_relative "vool/vool_compiler"
|
Loading…
Reference in New Issue
Block a user