 
 
 generateCode = (path, maxDepth) ->
+	{ makeStack, codeMap } = window.bef.StackingCompiler
+
 	startStack = (0 for i in [0...maxDepth])
 
 	charList = path.getAsList()
 
-	stack = StackingCompiler.makeStack(
+	stack = makeStack(
 		"#{path.id}_#{maxDepth}"
 		startStack
 		{ popMethod: 'popUnsafe' }

		if entry.string
			stack.push entry.char.charCodeAt 0
		else
			codeGenerator = StackingCompiler.codeMap[entry.char]
			if codeGenerator?
				codeGenerator entry.x, entry.y, entry.dir, i, stack, path.from, path.to
		return

'use strict'

consumePair = (consume, delta) ->
	{ consume, delta }
