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

@ -1,7 +1,7 @@
require_relative '../../helper'
require 'parslet/convenience'
Phisol::Compiler.class_eval do
Soml::Compiler.class_eval do
def set_main main
@clazz = Register.machine.space.get_class_by_name :Object
@method = main
@ -21,7 +21,7 @@ module CompilerHelper
syntax = parser.parse_with_debug(@string_input)
parts = Parser::Transform.new.apply(syntax)
#puts parts.inspect
compiler = Phisol::Compiler.new
compiler = Soml::Compiler.new
set_main(compiler)
produced = compiler.process( parts )
assert @output , "No output given"