renamed to kide(crystal)

This commit is contained in:
Torsten Ruger
2014-07-17 02:26:13 +03:00
parent fb105cb895
commit 337b1a8ee0
24 changed files with 34 additions and 34 deletions

View File

@ -17,7 +17,7 @@ module Fragments
end
def parse
parser = Parser::Sapphire.new
parser = Parser::Kide.new
syntax = parser.parse_with_debug(@string_input)
parts = Parser::Transform.new.apply(syntax)
# file is a list of expressions, all but the last must be a function

View File

@ -5,10 +5,10 @@ class TestHello < MiniTest::Test
def test_hello
@string_input = <<HERE
"Hello Raisa, I am sapphire".putstring()
"Hello Raisa, I am kide".putstring()
HERE
@should = [0x0,0x40,0x2d,0xe9,0x1,0x0,0xa0,0xe3,0x2,0x10,0xa0,0xe1,0x3,0x20,0xa0,0xe1,0x4,0x70,0xa0,0xe3,0x0,0x0,0x0,0xef,0x0,0x80,0xbd,0xe8]
@output = "Hello Raisa, I am sapphire "
@output = "Hello Raisa, I am kide "
@target = [:Object , :putstring]
parse
write "hello"

View File

@ -75,7 +75,7 @@ HERE
end
def parse
parser = Parser::Sapphire.new
parser = Parser::Kide.new
syntax = parser.parse_with_debug(@string_input)
parts = Parser::Transform.new.apply(syntax)
# file is a list of expressions, all but the last must be a function