Open Matthewar opened 6 years ago
This has been completed for all but based types for the most part (could constantly re-evaluate what to test for).
Need to add expression regexes for mistakes that occur there.
With the change from Alex (lexer generator) to Parsec (parser combinators) the error handling has changed. There are built-in types instead for errors, and these should be used as appropriate. The scope of this issue should perhaps change to advanced testing of the error messages that Parsec generates, or at least a manual review of them.
Related to issue #15 as the parsing technique has changed from Happy (parser generator) to using Parsec as well.
Add regexes to lexer to match known error cases.