monte-language / typhon

A virtual machine for Monte.
Other
67 stars 10 forks source link

New when API #200

Closed washort closed 5 years ago

washort commented 6 years ago

This adds a new method, Ref."when", and changes when-catch expansion to use it. Additionally, when blocks with no catch now log errors instead of letting them pass silently.

washort commented 5 years ago

There are 5 test failures in this branch (and no tests that failed to complete). I've rebased it on top of the new MAST build system which fails to complete if the tests don't pass. Mind having a look at these? Test failures are in: