testing addition
This commit is contained in:
parent
878ec9aecc
commit
b91fabdd90
3
Gemfile
3
Gemfile
@ -6,7 +6,8 @@ gem 'volt', '0.9.5.pre4'
|
||||
gem 'volt-mongo', '~> 0.1.0'
|
||||
|
||||
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-arm" , git: "https://github.com/salama/salama-arm.git"
|
||||
gem "salama-object-file" , git: "https://github.com/salama/salama-object-file.git"
|
||||
|
@ -23,9 +23,8 @@ GIT
|
||||
salama-reader (0.2.0)
|
||||
parslet (~> 1.7.0)
|
||||
|
||||
GIT
|
||||
remote: https://github.com/salama/salama.git
|
||||
revision: 96c7b7133d0dfc70563bc7f78740ea10065d1b15
|
||||
PATH
|
||||
remote: ../salama
|
||||
specs:
|
||||
salama (0.2.0)
|
||||
salama-object-file (~> 0.2)
|
||||
|
@ -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 = { }
|
||||
|
Loading…
Reference in New Issue
Block a user