rename melon to rubyx

melon was still from the salama days and rubyx describes it much better
This commit is contained in:
Torsten Ruger 2017-01-18 00:05:36 +02:00
parent 48d32a2b8e
commit 7abd777d05
32 changed files with 37 additions and 37 deletions

View File

@ -14,4 +14,4 @@ require "register/builtin/space"
require "arm/arm_machine" require "arm/arm_machine"
require "arm/translator" require "arm/translator"
require "melon/ruby_compiler" require "rubyx/ruby_compiler"

View File

@ -1,4 +1,4 @@
module Melon module Rubyx
module Passes module Passes
class LocalsCollector < TotalProcessor class LocalsCollector < TotalProcessor

View File

@ -1,4 +1,4 @@
module Melon module Rubyx
module Passes module Passes
class MethodCollector < TotalProcessor class MethodCollector < TotalProcessor

View File

@ -1,4 +1,4 @@
module Melon module Rubyx
module Passes module Passes
class MethodCompiler < AST::Processor class MethodCompiler < AST::Processor

View File

@ -1,4 +1,4 @@
module Melon module Rubyx
module Passes module Passes
class Normalizer < AST::Processor class Normalizer < AST::Processor

View File

@ -1,4 +1,4 @@
module Melon module Rubyx
module Passes module Passes
class TotalProcessor < AST::Processor class TotalProcessor < AST::Processor

View File

@ -1,4 +1,4 @@
module Melon module Rubyx
module Passes module Passes
class TypeCollector < TotalProcessor class TypeCollector < TotalProcessor

View File

@ -9,7 +9,7 @@ require_relative "passes/normalizer"
require_relative "ruby_method" require_relative "ruby_method"
module Melon module Rubyx
class RubyCompiler < Passes::TotalProcessor class RubyCompiler < Passes::TotalProcessor
def self.compile( input ) def self.compile( input )

View File

@ -1,4 +1,4 @@
module Melon module Rubyx
class RubyMethod class RubyMethod

View File

@ -2,8 +2,8 @@ require_relative '../helper'
require "register/interpreter" require "register/interpreter"
require "parser/ruby22" require "parser/ruby22"
module Melon module Rubyx
module MelonTests module RubyxTests
include CompilerHelper include CompilerHelper
include Register::InterpreterHelpers include Register::InterpreterHelpers
subs = ObjectSpace.each_object(Class).select { |klass| klass < Register::Instruction } subs = ObjectSpace.each_object(Class).select { |klass| klass < Register::Instruction }

View File

@ -1,8 +1,8 @@
require_relative 'helper' require_relative 'helper'
module Melon module Rubyx
class TestRubyAdds < MiniTest::Test class TestRubyAdds < MiniTest::Test
include MelonTests include RubyxTests
def pest_ruby_adds def pest_ruby_adds
@string_input = <<HERE @string_input = <<HERE

View File

@ -1,8 +1,8 @@
require_relative 'helper' require_relative 'helper'
module Melon module Rubyx
class TestRubyCalls < MiniTest::Test class TestRubyCalls < MiniTest::Test
include MelonTests include RubyxTests
def pest_ruby_calls def pest_ruby_calls
@string_input = <<HERE @string_input = <<HERE

View File

@ -1,8 +1,8 @@
require_relative 'helper' require_relative 'helper'
module Melon module Rubyx
class TestRubyHello < MiniTest::Test class TestRubyHello < MiniTest::Test
include MelonTests include RubyxTests
Branch = Register::Branch Branch = Register::Branch
Label = Register::Label Label = Register::Label

View File

@ -1,8 +1,8 @@
require_relative 'helper' require_relative 'helper'
module Melon module Rubyx
class TestRubyItos < MiniTest::Test class TestRubyItos < MiniTest::Test
include MelonTests include RubyxTests
def pest_ruby_itos def pest_ruby_itos
@string_input = <<HERE @string_input = <<HERE

View File

@ -1,8 +1,8 @@
require_relative 'helper' require_relative 'helper'
module Melon module Rubyx
class TestRubyLoop < MiniTest::Test class TestRubyLoop < MiniTest::Test
include MelonTests include RubyxTests
def pest_ruby_loop def pest_ruby_loop
@string_input = <<HERE @string_input = <<HERE

View File

@ -1,8 +1,8 @@
require_relative 'helper' require_relative 'helper'
module Melon module Rubyx
class TestManyAdds < MiniTest::Test class TestManyAdds < MiniTest::Test
include MelonTests include RubyxTests
def pest_ruby_adds_looping def pest_ruby_adds_looping
@string_input = <<HERE @string_input = <<HERE

View File

@ -1,8 +1,8 @@
require_relative 'helper' require_relative 'helper'
module Melon module Rubyx
class TestManyCalls < MiniTest::Test class TestManyCalls < MiniTest::Test
include MelonTests include RubyxTests
def pest_ruby_calls_looping def pest_ruby_calls_looping
@string_input = <<HERE @string_input = <<HERE

View File

@ -1,8 +1,8 @@
require_relative 'helper' require_relative 'helper'
module Melon module Rubyx
class TestManyHello < MiniTest::Test class TestManyHello < MiniTest::Test
include MelonTests include RubyxTests
def pest_ruby_hello_looping def pest_ruby_hello_looping
@string_input = <<HERE @string_input = <<HERE

View File

@ -1,8 +1,8 @@
require_relative 'helper' require_relative 'helper'
module Melon module Rubyx
class TestManyItos < MiniTest::Test class TestManyItos < MiniTest::Test
include MelonTests include RubyxTests
def pest_ruby_itos_looping def pest_ruby_itos_looping
@string_input = <<HERE @string_input = <<HERE

View File

@ -1,6 +1,6 @@
require_relative '../helper' require_relative '../helper'
module Melon module Rubyx
module CompilerHelper module CompilerHelper
def in_Test(statements) def in_Test(statements)

View File

@ -1,6 +1,6 @@
require_relative "helper" require_relative "helper"
module Melon module Rubyx
module Passes module Passes
class TestLocalsCollector < MiniTest::Test class TestLocalsCollector < MiniTest::Test

View File

@ -1,6 +1,6 @@
require_relative "helper" require_relative "helper"
module Melon module Rubyx
module Passes module Passes
class TestMethodCollector < MiniTest::Test class TestMethodCollector < MiniTest::Test

View File

@ -1,6 +1,6 @@
require_relative "helper" require_relative "helper"
module Melon module Rubyx
module Passes module Passes
class TestNormalizer < MiniTest::Test class TestNormalizer < MiniTest::Test

View File

@ -1,6 +1,6 @@
require_relative "helper" require_relative "helper"
module Melon module Rubyx
module Passes module Passes
class TestTypeCollector < MiniTest::Test class TestTypeCollector < MiniTest::Test

View File

@ -1,6 +1,6 @@
require_relative "helper" require_relative "helper"
module Melon module Rubyx
class TestCompiler < MiniTest::Test class TestCompiler < MiniTest::Test
def setup def setup

View File

@ -1,6 +1,6 @@
require_relative "helper" require_relative "helper"
module Melon module Rubyx
class TestRubyMethod < MiniTest::Test class TestRubyMethod < MiniTest::Test
include CompilerHelper include CompilerHelper

View File

@ -4,7 +4,7 @@ require_relative "elf/test_all"
require_relative "lib/test_all" require_relative "lib/test_all"
require_relative "melon/test_all" require_relative "rubyx/test_all"
require_relative "register/test_all" require_relative "register/test_all"