Switch to a persistent parser object so that we have access to errors and can deal with incomplete statements