Skip to content

sl236/Piet

Repository files navigation

Piet


Piet assembler

./piet-assembler somefile.piet | pnmtopng > out.png

Piet compiler

./piet-compiler somefile.script | piet-assembler | pnmtopng > out.png

See http://www.toothycat.net/wiki/wiki.pl?MoonShadow/Piet for further documentation and samples.

Kudos to Hugh Satow for many assorted tweaks and bugfixes.


Piet interpreter

For convenience, a fork of Marc Majcher's Piet interpreter is included.

./piet-assembler assembler-samples/fizzbuzz.piet | pnmtopng > fizzbuzz.png && interpreter/piet fizzbuzz.png

See http://www.majcher.com/code/piet/Piet-Interpreter.html for documentation and updates.


License: Creative Commons Attribution-ShareAlike 4.0, http://creativecommons.org/licenses/by-sa/4.0/
As attribution, please link back to this github repo, https://github.com/sl236/Piet

About

Piet assembler and compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages