namechange
This commit is contained in:
@ -17,7 +17,7 @@ module Fragments
|
||||
end
|
||||
|
||||
def parse
|
||||
parser = Parser::Kide.new
|
||||
parser = Parser::Salama.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
|
||||
|
@ -5,10 +5,10 @@ class TestHello < MiniTest::Test
|
||||
|
||||
def test_hello
|
||||
@string_input = <<HERE
|
||||
"Hello Raisa, I am kide".putstring()
|
||||
"Hello Raisa, I am salama".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 kide "
|
||||
@output = "Hello Raisa, I am salama "
|
||||
@target = [:Object , :putstring]
|
||||
parse
|
||||
write "hello"
|
||||
|
@ -75,7 +75,7 @@ HERE
|
||||
end
|
||||
|
||||
def parse
|
||||
parser = Parser::Kide.new
|
||||
parser = Parser::Salama.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
|
||||
|
Reference in New Issue
Block a user