Make the interpreter a single function