Photo: Flickr user lifeontheedge

Friday, June 24, 2005

Wikisnips of the Day

Programming languages.

There are several languages whose code looks like english phrases. Beatnik uses scrabble scores to convert words to numbers to operators. Each program in Chef is a recipe. Each program in Shakespeare is a full-formatted several-act play. Sample:

Juliet:
Speak YOUR mind! You are as bad as Hamlet! You are as small as the difference between the square of the difference between my little pony and your big hairy hound and the cube of your sorry little codpiece. Speak your mind!


That was Juliet printing another character (variable) and assigning him values.

Whitespace ignores everything but spaces, tabs, and carriage returns. Ook is designed for Chimpanzees. (Sample line: "Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.") Programs in Piet are bitmap images that look a little like abstract art. Choon produces musical notes as its only output. var'aq is modeled on Klingon. TMMLPTEALPAITAFNFAL stands for "The Multi-Million Language Project To End All Language Projects And Isn't That A Fine Name For A Language". It changes every day.

No comments: