copied salama in for reload

but have to rethink approach
This commit is contained in:
Torsten Ruger
2015-07-17 22:44:20 +03:00
parent b5b0630060
commit 4305ddaf1d
7 changed files with 32 additions and 13 deletions

View File

@ -1,5 +1,8 @@
require "opal/parser" # to get eval to work
$LOAD_PATH.unshift("/Users/raisa/salama/salama-debugger/app/main/lib")
require "salama"
Virtual::Machine.boot
@ -11,6 +14,7 @@ module Main
page._registers!.clear
page._classes!.clear
page._objects!.clear
page._source = InstructionModel.new nil
page._block = BlockModel.new nil
fill_regs
parse_and_fill