renames Typed to Vm

This commit is contained in:
Torsten Ruger
2017-01-14 19:28:44 +02:00
parent 75c7ca950e
commit bd78a2d555
95 changed files with 61 additions and 61 deletions

34
test/bench/vm/helper.rb Normal file
View File

@ -0,0 +1,34 @@
require_relative '../../typed/helper'
# Benchmarks for the stuff in results.md
module BenchTests
include RuntimeTests
def setup
@stdout = ""
@machine = Register.machine.boot
# Vm::Compiler.load_parfait
# most interesting parts saved as interger/word .soml in this dir
end
def main
runko = <<HERE
class Object
int main()
PROGRAM
end
end
HERE
runko.sub("PROGRAM" , @main )
end
def check_remote val
check_r val , true
end
def connected
make_box
end
end