Examples
Below are some characteristic examples of esoteric programming languages:
- LOLCODE is designed to resemble the speech of lolcats. The following is the "hello world" example:
- Befunge and its ilk allow the instruction pointer to roam in multiple dimensions through the code. For example the following program displays "Hello World" by pushing the characters in reverse order onto the stack, then printing the characters in a loop which circulates clockwise through the instructions, and .
- Brainfuck is designed for extreme minimalism and leads to obfuscated code, with programs containing only 8 distinct characters. e.g. the following program outputs "Hello World":
- Chef is designed to make programs look like cooking recipes. e.g. the following statement pushes an item onto a stack:
- FALSE is a stack-based language with single-character commands and variables. For example, 3 + 1 can be calculated by evaluating (λ x → x + 1)(3):
3!
- One instruction set computer is a machine language with only one operation. This is actually a class of languages because one can define such a language for any given operation.
- Piet is a visual language whose programs are bitmaps that resemble paintings by Piet Mondrian.
- Shakespeare is designed to make programs look like Shakespearean plays. e.g. the following statement declares a point in the program which can be reached via a GOTO-type statement:
Act I: Hamlet's insults and flattery.
. - Whitespace only considers the layout of whitespace and ignores all non-whitespace characters.
- INTERCAL, short for "Compiler Language With No Pronounceable Acronym".
- Malbolge (the 8th circle of Hell) was designed to be the most difficult and esoteric programming language.
Read more about this topic: Esoteric Programming Language
Famous quotes containing the word examples:
“Histories are more full of examples of the fidelity of dogs than of friends.”
—Alexander Pope (16881744)
“There are many examples of women that have excelled in learning, and even in war, but this is no reason we should bring em all up to Latin and Greek or else military discipline, instead of needle-work and housewifry.”
—Bernard Mandeville (16701733)
“It is hardly to be believed how spiritual reflections when mixed with a little physics can hold peoples attention and give them a livelier idea of God than do the often ill-applied examples of his wrath.”
—G.C. (Georg Christoph)
Related Phrases
Related Words