Seven C programs in a golden selection, like 7 tracks of a concept album or a small progressive EP.
Each file is an example of a programming idea: a small detail in a big painting, a bottle of wine in a cellar.
- Quine.c — A small quine example, like a woman, like life: varius multiplex multiformis.
- Mand.c — An ASCII Mandelbrot fractal. This program prints the Mandelbrot set directly in the terminal, a bit of art to give colors on this canvas.
- Brainf**k.c — A Brainf**k interpreter: small, compact, low-level, a dream. Turing compatible, but don’t try to use it too much.
- Cell_aut.c — Compact cellular automata implementation (I recommend reading A New Kind of Science by Stephen Wolfram). Life is randomness and rules, but both are the face of the same ubiquitous reality.
- FFT.c — An 8-sample FFT, in the James Cooley and John Tukey shiny old-school fashion. The fundamentals are important, milestones are important.
- Postfix.c — A postfix expression parser taken from the Danish and most efficient formalism. Why don’t people use that?
- Shaper.c — A 3D file manipulator. A bit of an out-of-track program, a happy detour, a day off, a trip in the countryside.
Remember to have fun.