testing addition

This commit is contained in:
Torsten Ruger
2015-08-04 21:45:49 +03:00
parent 878ec9aecc
commit b91fabdd90
3 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ module Main
def init_machine
machine = Virtual.machine.boot
code = Ast::ExpressionList.new( [Ast::CallSiteExpression.new(:putstring, [] ,Ast::StringExpression.new("Hello again"))])
code = Ast::OperatorExpression.new("+", Ast::IntegerExpression.new(2),Ast::IntegerExpression.new(5))
Virtual::Compiler.compile( code , machine.space.get_main )
machine.run_before "Register::CallImplementation"
page._interpreter = { }