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

@ -6,7 +6,8 @@ gem 'volt', '0.9.5.pre4'
gem 'volt-mongo', '~> 0.1.0' gem 'volt-mongo', '~> 0.1.0'
gem "parslet" , git: "https://github.com/salama/parslet.git" gem "parslet" , git: "https://github.com/salama/parslet.git"
gem "salama" , git: "https://github.com/salama/salama.git" #gem "salama" , git: "https://github.com/salama/salama.git"
gem "salama" , path: "../salama"
gem "salama-reader" , git: "https://github.com/salama/salama-reader.git" gem "salama-reader" , git: "https://github.com/salama/salama-reader.git"
gem "salama-arm" , git: "https://github.com/salama/salama-arm.git" gem "salama-arm" , git: "https://github.com/salama/salama-arm.git"
gem "salama-object-file" , git: "https://github.com/salama/salama-object-file.git" gem "salama-object-file" , git: "https://github.com/salama/salama-object-file.git"

View File

@ -23,9 +23,8 @@ GIT
salama-reader (0.2.0) salama-reader (0.2.0)
parslet (~> 1.7.0) parslet (~> 1.7.0)
GIT PATH
remote: https://github.com/salama/salama.git remote: ../salama
revision: 96c7b7133d0dfc70563bc7f78740ea10065d1b15
specs: specs:
salama (0.2.0) salama (0.2.0)
salama-object-file (~> 0.2) salama-object-file (~> 0.2)

View File

@ -20,7 +20,7 @@ module Main
def init_machine def init_machine
machine = Virtual.machine.boot 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 ) Virtual::Compiler.compile( code , machine.space.get_main )
machine.run_before "Register::CallImplementation" machine.run_before "Register::CallImplementation"
page._interpreter = { } page._interpreter = { }