create vm file to require vm parts
This commit is contained in:
parent
7abd777d05
commit
a39fc76a12
@ -7,7 +7,7 @@ end
|
||||
|
||||
require "register/padding"
|
||||
require "register/positioned"
|
||||
require "vm/method_compiler"
|
||||
require "vm"
|
||||
|
||||
require "vm/parfait"
|
||||
require "register/machine"
|
||||
|
12
lib/vm.rb
Normal file
12
lib/vm.rb
Normal file
@ -0,0 +1,12 @@
|
||||
# The Vm Module expresses a medium level virtual machine.
|
||||
# It is the level between the higher ruby abstraction and the lower risc level.
|
||||
#
|
||||
# Historically it has grown out of a language abtraction that was not unlike c,
|
||||
# in that it has tyes and everything is known at compile time.
|
||||
# No method dispatch, just calling.
|
||||
# In some ways it is more like c++ as it knows about classes and in fact everything is an
|
||||
# object.
|
||||
module Vm
|
||||
end
|
||||
require_relative "vm/tree"
|
||||
require_relative "vm/method_compiler"
|
@ -1,4 +1,3 @@
|
||||
require_relative "tree"
|
||||
require_relative "method_compiler/assignment"
|
||||
require_relative "method_compiler/basic_values"
|
||||
require_relative "method_compiler/call_site"
|
||||
|
Loading…
Reference in New Issue
Block a user