 	path
 
 
-getProgramState = (input = [], pathInvalidatedAhead) ->
+getProgramState = (input = []) ->
 	programState = new ProgramState()
 	programState.setInput input
-	programState.flags.pathInvalidatedAhead = pathInvalidatedAhead
 
 	programState.put = ->
 	programState.get = -> 55

		spec = {
			code: generateCode randInt 1, 20
			input: []
			pathInvalidatedAhead: Math.random() < 0.5
		}

		runSpec spec, executeList
		console.log spec.code

	return




generateCommand = do ->
	commands = '0123456789+-*/%!`:\\$.,g' # ~&

	->
		commands[Math.floor Math.random() * commands.length]
