87 lines
2.0 KiB
YAML
87 lines
2.0 KiB
YAML
id: "chef"
|
|
name: "Chef"
|
|
|
|
info:
|
|
impl: "Acme::Chef"
|
|
year: 2002
|
|
desc: "Stack-based language where programs look like cooking recipes"
|
|
ext: chef
|
|
web:
|
|
esolang: "https://esolangs.org/wiki/Chef"
|
|
home: "https://www.dangermouse.net/esoteric/chef.html"
|
|
source: "http://search.cpan.org/author/SMUELLER/Acme-Chef/"
|
|
category: esoteric
|
|
mode:
|
|
- compiled
|
|
- interpreted
|
|
platform: []
|
|
syntax: text
|
|
typing: integer
|
|
paradigm: imperative
|
|
usage: []
|
|
|
|
main: "main.chef"
|
|
template: |
|
|
Hello World Cake with Chocolate Sauce.
|
|
|
|
Ingredients.
|
|
33 g chocolate chips
|
|
100 g butter
|
|
54 ml double cream
|
|
2 pinches baking powder
|
|
114 g sugar
|
|
111 ml beaten eggs
|
|
119 g flour
|
|
32 g cocoa powder
|
|
0 g cake mixture
|
|
|
|
Cooking time: 25 minutes.
|
|
|
|
Pre-heat oven to 180 degrees Celsius.
|
|
|
|
Method.
|
|
Put chocolate chips into the mixing bowl.
|
|
Put butter into the mixing bowl.
|
|
Put sugar into the mixing bowl.
|
|
Put beaten eggs into the mixing bowl.
|
|
Put flour into the mixing bowl.
|
|
Put baking powder into the mixing bowl.
|
|
Put cocoa powder into the mixing bowl.
|
|
Stir the mixing bowl for 1 minute.
|
|
Combine double cream into the mixing bowl.
|
|
Stir the mixing bowl for 4 minutes.
|
|
Liquefy the contents of the mixing bowl.
|
|
Pour contents of the mixing bowl into the baking dish.
|
|
bake the cake mixture.
|
|
Wait until baked.
|
|
Serve with chocolate sauce.
|
|
|
|
Chocolate Sauce.
|
|
|
|
Ingredients.
|
|
111 g sugar
|
|
108 ml hot water
|
|
108 ml heated double cream
|
|
101 g dark chocolate
|
|
72 g milk chocolate
|
|
|
|
Method.
|
|
Clean the mixing bowl.
|
|
Put sugar into the mixing bowl.
|
|
Put hot water into the mixing bowl.
|
|
Put heated double cream into the mixing bowl.
|
|
dissolve the sugar.
|
|
agitate the sugar until dissolved.
|
|
Liquefy the dark chocolate.
|
|
Put dark chocolate into the mixing bowl.
|
|
Liquefy the milk chocolate.
|
|
Put milk chocolate into the mixing bowl.
|
|
Liquefy contents of the mixing bowl.
|
|
Pour contents of the mixing bowl into the baking dish.
|
|
Refrigerate for 1 hour.
|
|
|
|
run: |
|
|
chef main.chef
|
|
hello: |
|
|
Hello world!
|