remove incremental parsing, just expect an EOF at the end