For the past several weeks, we've looked at procedurality as the principle
expressive form of computation. But our focus has been on the output of Does
code mean more than the programs it runs? Is there a value to code itself?
For this last individual project, you will write a program in the esoteric
programming language Chef, designed by David Morgan-Mar. Chef is based on
the manipulation of data values in stacks. Variables are named after foods,
stacks are called mixing bowls, and instructions are common cooking manipulations.
The program itself reads like a recipe (thus the name Chef).
Rules for your completed program:
(1) It must compile and run. It need not be the most meaningful program, but it
must execute and do something coherent
(2) It must read like a coherent recipe. That is, the source code should be as
readable as the executable code, and it should make sense as a recipe.
(3) If you want an 'A', your recipe must also be coherent enough to be prepared
in the real world. This is harder than it sounds.
Extra credit (5 points) for anyone who brings in a version of their Chef code
for us to eat in class.
My receipe is called Nachos Al Getty and is a tribute to one of our most famous presidents.
My drive for creating something of this nature stemed from watching Jeopardy! on the television and
'Presidents' being one of the catagories. That and I couldn't think of any witty banter to have the
program spit out.
I have provided the source code here or you can download the file at the bottom.