Releases: your-diary/piet_programming_language
Releases · your-diary/piet_programming_language
v2.0.0
Breaking Changes
-
Zero-division in
divide
andmod
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