start on class compiler
idea is to get cleaner layer seperation reduce machine and rework builtin boot
This commit is contained in:
10
lib/mom/class_compiler.rb
Normal file
10
lib/mom/class_compiler.rb
Normal file
@ -0,0 +1,10 @@
|
||||
module Mom
|
||||
class ClassCompiler
|
||||
attr_reader :clazz , :methods
|
||||
|
||||
def initialize(clazz , methods)
|
||||
@clazz = clazz
|
||||
@methods = methods
|
||||
end
|
||||
end
|
||||
end
|
@ -15,3 +15,4 @@ module Mom
|
||||
end
|
||||
|
||||
require_relative "instruction/instruction.rb"
|
||||
require_relative "class_compiler"
|
||||
|
Reference in New Issue
Block a user