rubyx/test/slot_language/helper.rb

19 lines
365 B
Ruby
Raw Normal View History

2019-10-04 16:38:51 +02:00
require_relative "../helper"
module SlotLanguage
module SlotHelper
def compile(input)
SlotCompiler.compile(input)
end
def compile_class(input)
2019-10-05 13:49:45 +02:00
compile(input).class
2019-10-04 16:38:51 +02:00
end
end
module SlotToHelper
def setup
Parfait.boot!({})
@compiler = SlotMachine::SlotCollection.compiler_for( :Space , :main,{},{})
end
end
2019-10-04 16:38:51 +02:00
end