Search

The Online Encyclopedia and Dictionary

 
     
 

Encyclopedia

Dictionary

Quotes

 

Chef programming language

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

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.

A Hello World example program can be found on the list of Hello World programs in esoteric languages. A Fibonacci example program can be found on the language's website.

External links

The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy