@jsbarretto Thank you so much for your help, Joshua! That's so nice! I really appreciate it! ❤️
What I'm really curious about are those advanced error recovery strategies in chumsky. :awesome:
But I'll probably only look into those, after the "first iteration" is done to not get overwhelmed with new concepts.😄
@janriemer chumsky lets you do quite a lot with error recovery, including using fallback patterns defined using parsers to catch common cases, as well as giving pretty fine-grained control over errors. Thankfully it's not something you need to jump into at first, but there's there if you need it :) The result can be neat: recovered ASTs can go on to inform later passes, allowing your compiler to emit errors from many passes at once, like this: