Author:
To build:
make all
To use:
./prog
Try:
./try.sh
Judges’ remarks:
Sometimes you cannot see the forest thru the trees. But when you cannot see the trees thru the forest, it may be because the trees are not that tall.
This program generates such “mini-trees”: over time and in time of you know what we mean. Even though compiled C code might “grow on parse trees”, we think this code will also “grow on you” as the C expression goes. 😉
Author’s remarks:
This work is highly inspired by cbonsai
program (which was inspired by bonsai.sh, which was inspired by bonsai.js), but this one does not use ncurses and fits into IOCCC rules’ size.
Mac OS X
A little notice, that you need a terminal that supports ANSI codes and does not reinvent the wheel. I have tested it on iTerm2
and xterm
and it sure works, but sometimes detect the windows size wrongly, so best of luck.
Warnings
The iocccsize tool warns about triggered a word buffer overflow!
as I use the double values to stora data. It’s okay, no error here.
Inventory for 2024/codemeow
Primary files
- prog.c - entry source code
- Makefile - entry Makefile
- prog.orig.c - original source code
- try.sh - script to try entry
Secondary files
- 2024_codemeow.tar.bz2 - download entry tarball
- README.md - markdown source for this web page
- .entry.json - entry summary and manifest in JSON
- .gitignore - list of files that should not be committed under git
- .path - directory path from top level directory
- index.html - this web page