Chef

Chef

Chef — эзотерический язык программирования, разработанный Дэвидом Морган-Маром.
Каждая программа состоит из:

Переменные могут быть названы только названиями основных продуктов питания. Стеки, в которые помещаются значения переменных называются mixing bowls (Чаша миксера), а операции для манипуляции ими — mix (смешивание), stir (размешать), и так далее… Программа читается как рецепт приготовления пищи.

Программа Hello, World! на Chef

  Hello World Souffle.

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.
Liquefy contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.

Serves 1.

На выводе программа берёт значение последней переменной из стека, так как Ингредиенты не могут извлекаться из блюда в обратном порядке.

Ингредиенты (имена переменных)

Сокращение Оригинальное имя Русскоязычное значение
p potatoes картофель
d dijon mustard горчица
l lard сало
r red salmon нерка
o oil масло
w water вода
z zucchinis цуккини

Ссылки



Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Полезное


Смотреть что такое "Chef" в других словарях:

  • Chef! — The show s title, formed from food prepared during the opening credits. Format Situation comedy Created by Peter Tilbury (based on an idea from Len …   Wikipedia

  • Chef Ra — Born October 10, 1950(1950 10 10) Charleston, West Virginia Died December 26, 2006(2006 12 26) (aged 56) Urbana, Illinois Cooking style Ganja (marijuana) Education Urbana High School where he was class president his senior year. He …   Wikipedia

  • Chef — (aus dem Französischen entlehnt, von lateinisch caput ‚Kopf‘) bezeichnet: allgemein Vorgesetzter Koch oder Köchin in der Gastronomie Oberhaupt einer deutschen Adelsdynastie, siehe Deutscher Adel Chef (Programmiersprache), esoterische… …   Deutsch Wikipedia

  • Chef De Chœur — Dans la musique classique, un chef de chœur, ou cantor, est un musicien chargé de préparer et de coordonner le chant des différents pupitres d un chœur ou d une chorale, en vue d exécuter une œuvre musicale. Il peut être assisté dans son travail… …   Wikipédia en Français

  • Chef To Go — Format lifestyle Cooking show and Health Created by GMA Network Starring Rob Pengson Country of origin Philippines …   Wikipedia

  • Chef — Chef, n. [F.] 1. A chief or head person. [1913 Webster] 2. The head cook of large establishment, as a club, a family, etc. [1913 Webster] 3. (Her.) Same as {Chief}. [1913 Webster] || …   The Collaborative International Dictionary of English

  • Chef — (fr., spr. Scheff), 1) Haupt, sowohl von Personen, als von Sachen, z.B. Ch. d’oeuvre (spr. Scheff döhwer), Meisterwerk, Hauptwerk; 2) Erster in der Ordnung, bes. auch einer Familie; 3) der Befehlshaber eines Heeres od. Einer einzelnen… …   Pierer's Universal-Lexikon

  • Chef — (franz., spr. scheff, v. lat. caput), »Haupt«, Vorsteher, im deutschen Heer der Kommandeur einer Kompagnie, Eskadron, Batterie, außerdem der Inhaber der obersten Stelle bei Truppen oder Behörden. C. der Armee, bez. Marine (gewöhnlich der Monarch …   Meyers Großes Konversations-Lexikon

  • Chef — (frz., spr. scheff), Haupt, Oberhaupt, Vorsteher, Befehlshaber (einer Kompagnie, Eskadron, Batterie; dagegen C. eines Regiments s.v.w. Inhaber, s.d.) …   Kleines Konversations-Lexikon

  • Chef — (frz. Schäff), das Haupt, z.B. einer Familie, einer Handlung, eines Bureau; der Befehlshaber einer größeren Truppenabtheilung …   Herders Conversations-Lexikon


Поделиться ссылкой на выделенное

Прямая ссылка:
… Нажмите правой клавишей мыши и выберите «Копировать ссылку»