New language: Chef

This commit is contained in:
Radon Rosborough 2020-07-17 18:20:56 -06:00
parent 720acc50bb
commit 4ca01a6fdd
2 changed files with 67 additions and 0 deletions

View File

@ -293,6 +293,70 @@ int main() {
printf("Hello, world!\\n");
return 0;
}
`,
},
chef: {
name: "Chef",
monacoLang: "plaintext",
main: "main.chef",
run: "chef 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.
`,
},
cmd: {

View File

@ -36,6 +36,9 @@ npm install -g bash-language-server
# Befunge
npm install -g befunge93 prompt-sync
# Chef
cpanm -n Acme::Chef
# ClojureScript
npm install -g lumo-cljs