jmeaster30 / ocean

A C-like programming language (get it like sea-like like an ocean lol)
GNU General Public License v3.0
0 stars 0 forks source link

Better error reporting in parser #20

Closed jmeaster30 closed 11 months ago

jmeaster30 commented 2 years ago

Currently, we just panic when it gets to an invalid token. It would be nice if it was able to parse the whole program and report all of the invalid tokens and the same time.

This would probably require adding error versions of each node.

jmeaster30 commented 2 years ago

I started working on this but the error recovery produces other errors which isn't great

jmeaster30 commented 11 months ago

Closing obsolete ocean issues