NPIET-FOOGOL(1)
๐ NAME ๐
Okay so this is npiet-foogol(1), straight outta the General Commands Manual โ and it's literally npiet-foogol โ a foogol to piet compiler. Slay.
โจ SYNOPSIS โจ
npiet-foogol [ -v | -d ] [ -w <n> ] [ -b <n> ] [ -cs <n> ] inputfile
๐ธ DESCRIPTION ๐ธ
npiet-foogol translates foogol input into a piet program. So basically npiet-foogol creates a picture from foogol source. That picture is โ well, should be โ a valid piet program, and it can be executed, eg. by the npiet interpreter. Iconic behavior, fr fr. ๐จ
๐ OPTIONS ๐
-hโ prints usage help and exits. respectful queen behavior ๐-vโ be somewhat verbose. not full yapper mode, just a little yap.-dโ prints debug output (lot's of more or less cryptic and mostly useless blurb). ๐ yes it says that, and yes it's giving "trust me bestie".-w <n>โ sets a wrap-width in pixel. This gives the compiler a hint about a block width to use when generating expressions or statements. Usually code is generated left to right until the wrap-width is reached and then to the left. To avoid codel overlaps in loops and conditionals, code is generated with a virtual left border โ but this wrap-width too. Here is lot of optimisation possible. โจ-b <n>โ sets the base used by generating a number. The default is7, and a value greater or equal of2is acceptable. In a piet program the number of codels (here pixels) of a color block represents a number. To be able to push a large number on the stack without wasting a lot of ink, the number is calculated and the given base is used to do so. math girlie moment ๐งฎ๐-cs <n>โ sets the output codel size tonpixels. The default is1. Use a higher value to get a larger output picture. big picture energy ๐ฅ-rndโ experimental feature to set the start codel not always to red, but to a somewhat more random value. This does not work reliable โ please avoid if running in trouble... ๐ซถ warning bestie, it's experimental.-o <filename>โ sets the output filename. Default isnpiet-foogol.png. ๐inputfileโ the foogol program to read. Use a-to read from<stdin>. ๐ง
๐ฆ FILES ๐ฆ
npiet-foogol.pngโ default name of the piet program file to write. It is overwritten if it exists. ๐ so don't get attached, it will absolutely get replaced.
๐ AUTHOR ๐
Erik Schoenfelder <schoenfr@web.de>. ๐
๐ BUGS ๐
Surely lots. Not me saying that โ the page says that. But honestly? Respect for the honesty. ๐ญ
๐ SEE ALSO ๐
That's the whole cute lil manual page, bestie โ go compile something iconic ๐ซถโจ
npiet v1.3 โข Aug 2011 โข mwah ๐
๐ฆ where this page comes from
- nixos 26.05: npiet 1.3f
- nixpkgs unstable: npiet 1.3f
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms