Skip to content
forked from sl236/Piet

Piet assembler and compiler

Notifications You must be signed in to change notification settings

helvm/Piet-sl236

 
 

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

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • Perl 100.0%