Content deleted Content added
→Unique Instruction Representations: Capitalization |
PotatoKugel (talk | contribs) Added Chicken. |
||
Line 53:
=== Chef ===
Chef is a [[stack-oriented programming language]] created by [[David Morgan-Mar]], designed to make programs look like [[Recipe|cooking recipes]].<ref>{{cite book|last=Cozens|first=Simon|title=Advanced Perl programming|year=2005|publisher=O'Reilly Media|isbn=978-0-596-00456-9|page=269|quote=A final Acme curiosity, and one of my favourites, is Acme::Chef, an implementation of David Morgan-Mar's Chef programming language. In Chef, programs are expressed in the form of recipes: ...}}</ref> Programs consist of a title, a list of variables and their data values, and a list of stack manipulation instructions.<ref name="chef">{{cite web|url=http://www.dangermouse.net/esoteric/chef.html|title=Chef|work=DM's Esoteric Programming Languages|first=David|last=Morgan-Mar|publisher=Self-published|date=2011-03-24|access-date=2014-06-28}}</ref> A joking design principle states that "program recipes should not only generate valid output, but be easy to prepare and delicious", and Morgan-Mar notes that an example [[Hello world program|Hello World program]] with "101 eggs" and "111 cups oil" would produce "a lot of food for one person."<ref name="chef"/><ref>{{cite web|url=http://www.dangermouse.net/esoteric/chef_hello.html|title=Chef Sample Program: Hello World Souffle|work=DM's Esoteric Programming Languages|first=David|last=Morgan-Mar|publisher=Self-published|date=2014-06-28|access-date=2014-06-28}}</ref>
=== Chicken ===
Chicken has just three tokens, the word "chicken", " ", and "\n". The program pushes values onto the stack and manipulates those values. The program is written by putting the word "chicken" onto a line a set number of times to execute different instructions. For example, to push a number onto the stack, enter 10+ chickens onto a line and the numerical value 10 - n will be pushed onto the stack. To add the top two values on the stack, enter 2 chickens onto a line. Chicken was invented by Torbjörn Söderstedt.<ref>{{Cite web |title=Chicken - Esolang |url=https://esolangs.org/wiki/Chicken |access-date=2022-11-28 |website=esolangs.org}}</ref><ref>{{Cite web |date=2018-04-20 |title=Chicken chicken chicken: chicken chicken |url=https://web.archive.org/web/20180420010853/http://torso.me/chicken |access-date=2022-11-28 |website=web.archive.org}}</ref>
=== FRACTRAN ===
|