Skip to content

Releases: nazavode/cool

Improved detail on invalid string literals

17 Nov 17:27
Compare
Choose a tag to compare

During lexing of invalid string literals, two new error classes have been added:

  • InvalidTokenEscapedNullCharInString
  • InvalidTokenEoiInString

Lexer provides details about the last error found

17 Nov 16:10
Compare
Choose a tag to compare

Last error details added to lexer, accessible via InvalidTokenReason() method.

Lexer is feature complete

12 Nov 17:17
Compare
Choose a tag to compare
Pre-release

The generated lexer now successfully scans the Cool programming language according to the official spec. All
approval tests are passing against a provided set of official golden files. Additional tests on selected snippets are included for improved debuggability of future PRs.