move compiler to typed

starting to get rid of soml, bit by bit
This commit is contained in:
Torsten Ruger
2016-12-08 15:25:20 +02:00
parent c3a28d2abc
commit da553f996f
30 changed files with 36 additions and 35 deletions

View File

@ -9,7 +9,7 @@ module BenchTests
def setup
@stdout = ""
@machine = Register.machine.boot
Soml::Compiler.load_parfait
Typed::Compiler.load_parfait
end
def main

View File

@ -8,7 +8,7 @@ module Ticker
syntax = Parser::Salama.new.parse_with_debug(@string_input, reporter: Parslet::ErrorReporter::Deepest.new)
parts = Parser::Transform.new.apply(syntax)
#puts parts.inspect
Soml.compile( parts )
Typed.compile( parts )
machine.collect
@interpreter = Register::Interpreter.new
@interpreter.start Register.machine.init