make repl use new parseStats parser entry point and handle errors properly