Tyler-Yates / Piety

CS 345H Final Project to implement the Piet programming language in Scala
4 stars 2 forks source link

Program Verification #5

Closed Tyler-Yates closed 10 years ago

Tyler-Yates commented 10 years ago

Verify that the image files given to the interpreter are valid program.

Some ideas:

Tyler-Yates commented 10 years ago

Documentation from http://www.dangermouse.net/esoteric/piet.html states:

Additional colours (such as orange, brown) may be used, though their effect is implementation-dependent. In the simplest case, non-standard colours are treated by the language interpreter as the same as white, so may be used freely wherever white is used. (Another possibility is that they are treated the same as black.)

I think treating non-standard colors as white is reasonable.