ante icon indicating copy to clipboard operation
ante copied to clipboard

Improve parser error messages

Open jfecher opened this issue 2 years ago • 0 comments

Currently the parser fails on the first error and issues rather poor error messages in general (poor hints as to what went wrong, sometimes poor locality as well).

The parser should be explored to ways it can give better errors and/or have better error recovery (e.g. skip to next newline token if the current statement errors).

The --parse and --lex compiler flags may help with debugging here.

jfecher avatar Jun 18 '22 13:06 jfecher