Torsten Rüger
8cac5c064d
Since we already have Macros. Macros are nothing more than a list of SlotMachine Instructions. This is what we are aiming to create (which is also what is created in Sol .to_slot) So the idea came to slot the MacroMaker in there after its done
19 lines
365 B
Ruby
19 lines
365 B
Ruby
require_relative "../helper"
|
|
|
|
module SlotLanguage
|
|
module SlotHelper
|
|
def compile(input)
|
|
SlotCompiler.compile(input)
|
|
end
|
|
def compile_class(input)
|
|
compile(input).class
|
|
end
|
|
end
|
|
module SlotToHelper
|
|
def setup
|
|
Parfait.boot!({})
|
|
@compiler = SlotMachine::SlotCollection.compiler_for( :Space , :main,{},{})
|
|
end
|
|
end
|
|
end
|