Is it April 1st yet?

ziggy on 2003-02-03T14:36:09

Looking through the recent CPAN uploads, I found saw Language::Chef, an interpreter for the Chef programming language. In Chef, all programs look like recipies. Here is a recipe for "Hello World Souffle:

Hello World Souffle.

This recipe prints the immortal words "Hello world!", in a basically brute force way. It also makes a lot of food for one person.

Ingredients.
72 g haricot beans
101 eggs
108 g lard
111 cups oil
32 zucchinis
119 ml water
114 g red salmon
100 g dijon mustard
33 potatoes

Method.
Put potatoes into the mixing bowl. Put dijon mustard into the mixing bowl. Put lard into the mixing bowl. Put red salmon into the mixing bowl. Put oil into the mixing bowl. Put water into the mixing bowl. Put zucchinis into the mixing bowl. Put oil into the mixing bowl. Put lard into the mixing bowl. Put lard into the mixing bowl. Put eggs into the mixing bowl. Put haricot beans into the mixing bowl. Liquify contents of the mixing bowl. Pour contents of the mixing bowl into the baking dish.

Serves 1.

(I'm not sure which is more appalling -- the ingredients, or the language specification.)


What's next

delegatrix on 2003-02-03T15:31:57

What about Language::Chef::English to convert all those metric weights?

Re:What's next

Dom2 on 2003-02-03T15:38:09

Make that Language::Chef::Imperial. I'm English, and I can't stand imperial measurements. They're damned confusing (how many pounds to a stone? I rest my case).

-Dom

Re:What's next

ziggy on 2003-02-03T15:54:30

how many pounds to a stone?
Fourteen. :-)
$ units
501 units, 41 prefixes

You have: stone
You want: pounds
        * 14
        / 0.071428571
You have: ^D

Re:What's next

Dom2 on 2003-02-03T16:10:18

Sadly, I'm not always near a computer when I need such information. :-(

(units(1))++

-Dom