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/translator"
require "melon/ruby_compiler"
require "rubyx/ruby_compiler"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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