remove soml parser from tests

This commit is contained in:
Torsten Ruger
2016-12-08 19:39:16 +02:00
parent e2236cf703
commit 4cd979e3e9
9 changed files with 105 additions and 6 deletions

View File

@ -2,13 +2,11 @@ require_relative "../../helper"
require "register/interpreter"
module Ticker
include AST::Sexp
def setup
machine = Register.machine.boot
syntax = Parser::Salama.new.parse_with_debug(@string_input, reporter: Parslet::ErrorReporter::Deepest.new)
parts = Parser::Transform.new.apply(syntax)
#puts parts.inspect
Typed.compile( parts )
Typed.compile( @input )
machine.collect
@interpreter = Register::Interpreter.new
@interpreter.start Register.machine.init