Jump to content

Chef (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 194.222.223.239 (talk) at 21:09, 20 January 2004 (Brief description with external link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Chef is an esoteric programming language designed by David Morgan-Mar. It is based on the manipulation of data values in a number of stacks. Each program consists at minimum of the following:

  • A title
  • A list of variables and their data values
  • A list of instructions for stack manipulation

However, the joke is that the variables tend to be named after basic foodstuffs, the stacks are called 'mixing bowls' and the instructions for manipulating them 'mix', 'stir', etc.. A program, then, reads much like a cooking recipe. Hello World and Fibonacci example programs can be found on the language's website.