func main() { cgreader.RunInteractiveProgram( "<input_file>", "<program_file>", true, Initialize, Update) }
func CreateAndRunInteractiveProgram(programFile []byte, programType, programInputFile string) { if initial, update, result := ParseInteractiveProgram(programFile); result { initialFunction, updateFunction := CreateInteractiveFunctions(initial, update) cgreader.RunInteractiveProgram(programType, programInputFile, isVerbose, initialFunction, updateFunction) } }