Skip to content

Releases: your-diary/piet_programming_language

v2.0.0

21 Oct 14:33
Compare
Choose a tag to compare

Breaking Changes

  • Zero-division in divide and mod command is now ignored instead of terminating the program. This change follows the spec's recommendation.

  • An error is returned instead of panicking when the starting point (i.e. the top-left codel) is black.

  • Some error messages are improved.

  • --verbose now prints DP and CC directions in addition to the current index.

New Features

  • Add --max-iter option, which limits the max number of iterations (useful for debugging).

  • Add --fall-back-to-white and --fall-back-to-black options, which treat unknown colors as white or black, respectively.

Bug Fixes

  • Fixed #2: Infinite loop inside white block due to improper implementation of retrace detection.

Other Changes

  • improved documentation (README.md)

  • performance improvement

Internal Changes

  • thorough refactoring

  • improved test coverage

  • many doc comments added

  • "Development" section added to README.md

Full Changelog

v1.0.0...v2.0.0

v1.0.0

14 Oct 06:43
Compare
Choose a tag to compare