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
|
2019-10-06 18:49:53 +02:00
|
|
|
module SlotToHelper
|
|
|
|
def setup
|
|
|
|
Parfait.boot!({})
|
|
|
|
@compiler = SlotMachine::SlotCollection.compiler_for( :Space , :main,{},{})
|
|
|
|
end
|
|
|
|
end
|
2019-10-04 16:38:51 +02:00
|
|
|
end
|