Skip to content

0.5.0a1

Pre-release
Pre-release
Compare
Choose a tag to compare
@mincrmatt12 mincrmatt12 released this 08 May 21:58
· 73 commits to master since this release

This is a preview of some of the new features in the upcoming 0.5.0 release.

New Features

  • Greedy case statements: explicit ambiguity resolution can be turned on as an option in case statements now (52e5418)
  • Finish codes: explicit finish statements can now return custom status codes, instead of just always giving _DONE (1ffe4d4)
  • Yield: parsers can now interrupt execution with a return code and be restarted; for example to build a lexer (1ffe4d4, 41b2c23)

Bugs Fixed

  • Loops that have (possibly conditional) breaks before any matching statements no longer think they're infinite (a687b3b)

Infrastructure Changes

  • Tests now use finish codes to better check correctness (9f1c20e)
  • Various examples/docs have been updated to use finish codes instead of result enumerations (976fc60, a777a5e)
  • New lexer example demonstrating yield functionality (a9a96a8)
  • Various documentation improvements:
  • Updated to lark 1.0 (f3dd61e)
  • Appimages now build against Ubuntu 20.04 as their base (9dc256c)
    • Note snaps may be removed in a future release due to issues in reliably building them in CI