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 — chef …   Dictionnaire des rimes

  • Chef(in) — Chef(in) …   Deutsch Wörterbuch

  • chef — [ ʃɛf ] n. m. • chief Xe; lat. caput « tête » I ♦ 1 ♦ Vx Tête (⇒ couvre chef). Le chef de saint Denis, relique. Blas. Pièce honorable qui est en haut de l écu. 2 ♦ DE SON CHEF : de sa propre initiative, de soi même. ⇒ autorité …   Encyclopédie Universelle

  • chef — (chèf ; au pluriel l s ne se lie pas : les chèf et les soldats ; cependant quelques uns lient : les chèf z et les soldats) s. m. 1°   Tête. Le chef de saint Jean Baptiste. •   Et que peut plus un corps dont le chef est à bas ?, ROTR. St Gen. V, 2 …   Dictionnaire de la Langue Française d'Émile Littré

  • chef — CHEF. s. m. (On pron. l F.) Tête. Il ne se dit que de l homme, et il n est guère d usage qu en Poésie. Le chef couronné de lauriers. Le chef ceint d un diadême. On s en sert aussi en parlant De la tête des Saints. Le Chef de Saint Jean. Le Chef… …   Dictionnaire de l'Académie Française 1798

  • chef — CHEF. s. m. Teste. Il ne se dit que de l homme, & il n a guere d usage qu en poësie. Le chef couronné de lauriers. le chef ceint d un diademe. On s en sert aussi en parlant de la teste des Saints. On garde le chef de saint Jean en cette Eglise.… …   Dictionnaire de l'Académie française

  • 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 — Chef, m. Qui vient du Grec {{t=g}}képhalê,{{/t}} non du Latin Caput, est la teste proprement de l homme et de la femme, Caput, car quant aux bestes brutes, on use du mot Teste. Chef et Capitaine d une armée, Strategus, Dux exercitus. Le chef des… …   Thresor de la langue françoyse

  • 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 — CHEF, chefuri, s.n. 1. Petrecere zgomotoasă cu mâncare, băutură (şi cântec). 2. Stare de (uşoară) beţie şi de bună dispoziţie a omului care a băut. 3. Bună dispoziţie, voie bună, veselie; toane bune. 4. Voie, poftă, dorinţă. ♦ Dorinţă ciudată,… …   Dicționar Român


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

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