![]()
Project 7 involved writing a Chef program. Chef code is made to resemble recipes, but represents computer instructions manipulating stacks of data. The compiler compiles chef code to perl. The language seems very limited when compared with typical computer languages. While the idea of giving the code itself meaning is interesting, most programs are run without the user ever seeing the code. It is very hard to reconcile an idea for the code with any goal for the output. I don't do much cooking. One of the limitations in this code is that the final dish is always a "baking dish". I finally made a drink, and just used "baking dish" to refer to the cup. Its a mix of sodas and it prints 'yuck'. sodayuck.chef |