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

'use strict'

{ StackingCompiler } = window.bef


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



generateCode = (path, maxDepth) ->
	{ makeStack, codeMap } = window.bef.StackingCompiler

	startStack = (0 for i in [0...maxDepth])

	charList = path.getAsList()

	stack = makeStack(
		"#{path.id}_#{maxDepth}"
		startStack
		{ popMethod: 'popUnsafe' }
