basic view up with styles

This commit is contained in:
Torsten Ruger
2015-07-29 18:50:03 +03:00
parent 3bad4cc570
commit 264a52c184
7 changed files with 52 additions and 39 deletions

View File

@ -2,10 +2,10 @@
module Main
class MainController < Volt::ModelController
def index
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
# 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