first steps (nothing works)

This commit is contained in:
Torsten Ruger
2015-07-29 18:19:26 +03:00
parent 56521fd5ed
commit 3bad4cc570
4 changed files with 53 additions and 18 deletions

View File

@ -2,7 +2,10 @@
module Main
class MainController < Volt::ModelController
def index
# Add code for when the index view is loaded
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.start machine.init
end
def about