rename phisol to soml

This commit is contained in:
Torsten Ruger
2015-10-23 14:22:55 +03:00
parent 991cc0519f
commit e0c5bc4c11
31 changed files with 60 additions and 97 deletions

View File

@ -18,7 +18,7 @@ class AddTest < MiniTest::Test
s(:int, 5),
s(:int, 7)))))))
Phisol::Compiler.compile( code )
Soml::Compiler.compile( code )
machine.collect
@interpreter = Interpreter::Interpreter.new
@interpreter.start Register.machine.init

View File

@ -24,10 +24,10 @@ HERE
syntax = Parser::Salama.new.parse_with_debug(@string_input)
parts = Parser::Transform.new.apply(syntax)
#puts parts.inspect
Phisol::Compiler.compile( parts )
Soml::Compiler.compile( parts )
machine.collect
# statements = Register.machine.boot.parse_and_compile @string_input
# Phisol::Compiler.compile( statements , Register.machine.space.get_main )
# Soml::Compiler.compile( statements , Register.machine.space.get_main )
@interpreter = Interpreter::Interpreter.new
@interpreter.start Register.machine.init
#show_ticks # get output of what is

View File

@ -52,10 +52,10 @@ HERE
syntax = Parser::Salama.new.parse_with_debug(@string_input)
parts = Parser::Transform.new.apply(syntax)
#puts parts.inspect
Phisol::Compiler.compile( parts )
Soml::Compiler.compile( parts )
machine.collect
# statements = Register.machine.boot.parse_and_compile @string_input
# Phisol::Compiler.compile( statements , Register.machine.space.get_main )
# Soml::Compiler.compile( statements , Register.machine.space.get_main )
@interpreter = Interpreter::Interpreter.new
@interpreter.start Register.machine.init
#show_ticks # get output of what is

View File

@ -18,7 +18,7 @@ class TestPuts < MiniTest::Test
s(:receiver,
s(:string, "Hello again")))))))
Phisol::Compiler.compile( code )
Soml::Compiler.compile( code )
machine.collect
@interpreter = Interpreter::Interpreter.new
@interpreter.start Register.machine.init