In the current state, the Virgril parser reports the first ParseError and stops parsing the given file. On ParseError, panic recovery mode discards input tokens until a synchronizing token is found and continue to parse from that point. I believe panic recovery mode is relatively straightforward to implement and benefits a future language server.