Examine individual changes
Jump to navigation
Jump to search
This page allows you to examine the variables generated by the Abuse Filter for an individual change.
Variables generated for this change
Variable | Value |
---|---|
Whether or not the edit is marked as minor (no longer in use) (minor_edit) | false |
Edit count of the user (user_editcount) | 0 |
Name of the user account (user_name) | 'Mowag' |
Age of the user account (user_age) | 120 |
Page ID (page_id) | 1013 |
Page namespace (page_namespace) | 0 |
Page title (without namespace) (page_title) | 'Chef' |
Full page title (page_prefixedtitle) | 'Chef' |
Action (action) | 'edit' |
Edit summary/reason (summary) | 'Added a link to a (slightly) better python interpreter' |
Old content model (old_content_model) | 'wikitext' |
New content model (new_content_model) | 'wikitext' |
Old page wikitext, before the edit (old_wikitext) | ''''Chef''' is a [[stack]]-based language where programs look like cooking recipes. Chef was designed by [[David Morgan-Mar]] in 2002.
==Design principles==
According to the Chef Home Page, the design principles for Chef are:
* Program recipes should not only generate valid output, but be easy to prepare and delicious.
* Recipes may appeal to cooks with different budgets.
* Recipes will be metric, but may use traditional cooking measures such as cups and tablespoons.
==[[Hello, world!]] in Chef==
David Morgan-Mar wrote the example program [http://www.dangermouse.net/esoteric/chef_hello.html Hello World Souffle]; it does generate valid output, however falls short of the design goals of being "easy to prepare and delicious". Later, Mike Worth wrote a hello world program that can be followed as a functional (if slightly odd) recipe for a chocolate cake:
Hello World Cake with Chocolate sauce.
This prints hello world, while being tastier than Hello World Souffle. The main
chef makes a " world!" cake, which he puts in the baking dish. When he gets the
sous chef to make the "Hello" chocolate sauce, it gets put into the baking dish
and then the whole thing is printed when he refrigerates the sauce. When
actually cooking, I'm interpreting the chocolate sauce baking dish to be
separate from the cake one and Liquify to mean either melt or blend depending on
context.
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.
Liquify 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.
Liquify the dark chocolate.
Put dark chocolate into the mixing bowl.
Liquify the milk chocolate.
Put milk chocolate into the mixing bowl.
Liquify contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.
Refrigerate for 1 hour.
==External resources==
*[http://www.dangermouse.net/esoteric/chef.html Chef Home Page]
*[http://search.cpan.org/author/SMUELLER/Acme-Chef/ Perl interpreter] - Note: is not completely in accordance with the specification.
*{{wayback|20070814100416|http://rename.noll8.nu/sp3tt/chef.py|Python interpreter}} - In development, does not support the stir instruction and has some bugs related to loops. No error handling yet.
*[http://www.mike-worth.com/2013/03/31/baking-a-hello-world-cake/ Hello world cake with chocolate sauce] More details of actually cooking this as a recipe.
[[Category:Stack-based]]
[[Category:Implemented]]
[[Category:Languages]]
[[Category:Turing complete]]
[[Category:Low-level]]
[[Category:Thematic]]
[[Category:2002]]' |
New page wikitext, after the edit (new_wikitext) | ''''Chef''' is a [[stack]]-based language where programs look like cooking recipes. Chef was designed by [[David Morgan-Mar]] in 2002.
==Design principles==
According to the Chef Home Page, the design principles for Chef are:
* Program recipes should not only generate valid output, but be easy to prepare and delicious.
* Recipes may appeal to cooks with different budgets.
* Recipes will be metric, but may use traditional cooking measures such as cups and tablespoons.
==[[Hello, world!]] in Chef==
David Morgan-Mar wrote the example program [http://www.dangermouse.net/esoteric/chef_hello.html Hello World Souffle]; it does generate valid output, however falls short of the design goals of being "easy to prepare and delicious". Later, Mike Worth wrote a hello world program that can be followed as a functional (if slightly odd) recipe for a chocolate cake:
Hello World Cake with Chocolate sauce.
This prints hello world, while being tastier than Hello World Souffle. The main
chef makes a " world!" cake, which he puts in the baking dish. When he gets the
sous chef to make the "Hello" chocolate sauce, it gets put into the baking dish
and then the whole thing is printed when he refrigerates the sauce. When
actually cooking, I'm interpreting the chocolate sauce baking dish to be
separate from the cake one and Liquify to mean either melt or blend depending on
context.
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.
Liquify 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.
Liquify the dark chocolate.
Put dark chocolate into the mixing bowl.
Liquify the milk chocolate.
Put milk chocolate into the mixing bowl.
Liquify contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.
Refrigerate for 1 hour.
==External resources==
*[http://www.dangermouse.net/esoteric/chef.html Chef Home Page]
*[http://search.cpan.org/author/SMUELLER/Acme-Chef/ Perl interpreter] - Note: is not completely in accordance with the specification.
*[https://github.com/MosheWagner/PyChefInterpreter Python interpreter] - In development, No error handling yet.
*[http://www.mike-worth.com/2013/03/31/baking-a-hello-world-cake/ Hello world cake with chocolate sauce] More details of actually cooking this as a recipe.
[[Category:Stack-based]]
[[Category:Implemented]]
[[Category:Languages]]
[[Category:Turing complete]]
[[Category:Low-level]]
[[Category:Thematic]]
[[Category:2002]]' |
Unified diff of changes made by edit (edit_diff) | '@@ -79,5 +79,5 @@
*[http://www.dangermouse.net/esoteric/chef.html Chef Home Page]
*[http://search.cpan.org/author/SMUELLER/Acme-Chef/ Perl interpreter] - Note: is not completely in accordance with the specification.
-*{{wayback|20070814100416|http://rename.noll8.nu/sp3tt/chef.py|Python interpreter}} - In development, does not support the stir instruction and has some bugs related to loops. No error handling yet.
+*[https://github.com/MosheWagner/PyChefInterpreter Python interpreter] - In development, No error handling yet.
*[http://www.mike-worth.com/2013/03/31/baking-a-hello-world-cake/ Hello world cake with chocolate sauce] More details of actually cooking this as a recipe.
' |
New page size (new_size) | 3532 |
Old page size (old_size) | 3619 |
Lines added in edit (added_lines) | [
0 => '*[https://github.com/MosheWagner/PyChefInterpreter Python interpreter] - In development, No error handling yet.'
] |
Unix timestamp of change (timestamp) | 1541693808 |