NPIET-FOOGOL(1)

๐Ÿ“ฆ version 1.3f, in nixos 26.05, nixpkgs unstable

๐Ÿ’– 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 is 7, and a value greater or equal of 2 is 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 to n pixels. The default is 1. 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 is npiet-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