rubyx-debugger/app/main.rb
Torsten Ruger 53d576ef90 showing actual block and actual instruction
time to ponder a little more
2015-07-23 17:26:48 +03:00

21 lines
429 B
Ruby

require 'opal'
require "opal/parser"
require "salama"
require "interpreter"
require 'opal-react'
require "class_view"
require "register_view"
require "source_view"
require "block_view"
require "debugger"
require 'opal-jquery'
Document.ready? do # Document.ready? is a opal-jquery method.
machine = Virtual.machine.boot
React.render( React.create_element( Debugger , :machine => machine ), Element['#content'] )
end