parser hooks into repl