moved interpreter in salama

This commit is contained in:
Torsten Ruger 2015-07-30 19:23:25 +03:00
parent 33b0260bfb
commit ba8768e374
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# By default Volt generates this controller for your Main component
require "salama"
require "interpreter"
require "interpreter/interpreter"
module Main
@ -42,7 +42,7 @@ module Main
code = Ast::ExpressionList.new( [Ast::CallSiteExpression.new(:putstring, [] ,Ast::StringExpression.new("Hello again"))])
Virtual::Compiler.compile( code , machine.space.get_main )
machine.run_before "Register::CallImplementation"
@interpreter = Interpreter.new
@interpreter = Interpreter::Interpreter.new
page._interpreter = { }
update_interpreter
@interpreter.start machine.init