10 Most Bizarre Programming Languages Ever Created

There is nothing more frustrating for a web developer than spending hours at a time fixing a bug that should just work. Often I’ll get stuck in a programming state that feels like I have absolutely no idea what I’m doing, as if the language I’m using (CSS, PHP, whatever), is actually a foreign language.

1. Ook!
If you’ve ever felt like a monkey just banging away at a keyboard, then Ook! will make you feel right at home. It’s a language designed primarily for primates, specifically the orangutan. With Ook! you only use three syntax elements:

* Ook.
* Ook?
* Ook!

Here are a few examples of Ook! in action:

1. Ook. Ook?
2. Move the Memory Pointer to the next array cell.

Ook. Ook?
Move the Memory Pointer to the next array cell.

1. Ook? Ook.
2. Move the Memory Pointer to the previous array cell.

Ook? Ook.
Move the Memory Pointer to the previous array cell.

1. Ook. Ook.
2. Increment the array cell pointed at by the Memory Pointer.

Ook. Ook.
Increment the array cell pointed at by the Memory Pointer.

1. Ook! Ook!
2. Decrement the array cell pointed at by the Memory Pointer.

Ook! Ook!
Decrement the array cell pointed at by the Memory Pointer.

1. Ook. Ook!
2. Read a character from STDIN and put its ASCII value into the cell pointed at by the Memory Pointer.

2. Piet
For those appreciative of fine art, Piet is a language that you’ll surely enjoy. Inspired by the abstract artist Piet Mondrian, Piet is a programming language that converts programs into abstract geometric paintings. Programs are made up of 20 different colors, and then read by the compiler based on hex values to run a program.Check out some of the crazy examples that Piet programmers have come up with.

3. Whitespace
Unfortunately, the name for this programming language is exactly what it does: Whitespace creates programs based off of… whitespace. The Whitespace website has a great description of how the language works.

Most modern programming languages do not consider white space characters (spaces, tabs and newlines) syntax, ignoring them, as if they weren’t there. We consider this to be a gross injustice to these perfectly friendly members of the character set. Should they be ignored, just because they are invisible? Whitespace is a language that seeks to redress the balance. Any non whitespace characters are ignored; only spaces, tabs and newlines are considered syntax.

LOLCODE is my personal favorite among esoteric languages. The language is based off of the LOLCats phenomenon, and uses LOLCats syntax to make programs run. Or something like that.Just looking at a sample bit of an LOLCODE program will explain why it’s a fan favorite.
view plaincopy to clipboardprint?

1. HAI

5. Shakespeare
Shakespeare is not as simple as LOLCODE to wrap your head around. In case you haven’t figured it out yet, Shakespeare is a programming language based on the writings of the great playwright. Each program contains a title, acts, scenes and characters to make brilliant source code that’s actually fun to read.Here’s Act I, Scene I of “Hello World”:
view plaincopy to clipboardprint?

1. The Infamous Hello World Program.
3. Romeo, a young man with a remarkable patience.
4. Juliet, a likewise young woman of remarkable grace.
5. Ophelia, a remarkable woman much in dispute with Hamlet.
6. Hamlet, the flatterer of Andersen Insulting A/S.
8. Act I: Hamlet’s insults and flattery.
10. Scene I: The insulting of Romeo.
12. [Enter Hamlet and Romeo]
14. Hamlet:
15. You lying stupid fatherless big smelly half-witted coward!
16. You are as stupid as the difference between a handsome rich brave
17. hero and thyself! Speak your mind!
19. You are as brave as the sum of your fat little stuffed misused dusty
20. old rotten codpiece and a beautiful fair warm peaceful sunny summer’s
21. day. You are as healthy as the difference between the sum of the
22. sweetest reddest rose and my father and yourself! Speak your mind!
24. You are as cowardly as the sum of yourself and the difference
25. between a big mighty proud kingdom and a horse. Speak your mind.
27. Speak your mind!
29. [Exit Romeo]

6. Befunge
The goal for Chris Pressey, creator of the Befunge programming language, was simple: Create a language that was as difficult to compile as possible. Befunge accomplishes this by the two main features of the daunting language:

1. Self modifying – the p instruction can write new instructions into the playfield; and
2. Multi-dimensional – the same instruction can be executed in four different contexts (in a left-to-right series of instructions, or right-to-left, or upward or downward.)

Regardless, there are very smart people, (with way too much free time), who have created compilers for Befunge.

7. reMorse
reMorse is a language intended to look like morse code. Visions of submarines and telegrams come to mind with this simple yet incredibly challenging language. Here’s the reMorse version of “Hello World”:
view plaincopy to clipboardprint?

1. – – – ..- …-.—.;newline
2. – – – .-. – ..-.- …-. —.;!
3. – – – …- . . -.—.;d
4. —-. . . -.—.;l
5. —-. . -…—.;r
6. —-. -…—.;o
7. —-…-.- ..-. —.;W
8. //author didn’t feel like doing this part
9. -…………..;output all characters

– – – ..- …-.—.;newline
– – – .-. – ..-.- …-. —.;!
– – – …- . . -.—.;d
—-. . . -.—.;l
—-. . -…—.;r
—-. -…—.;o
—-…-.- ..-. —.;W
//author didn’t feel like doing this part
-…………..;output all characters

This language might be a tad on the difficult side for the rest of us (with the exception of amateur radio specialists). You know it’s a bear to program when the author of the language won’t finish all of the basic example, due to complexity.

With an appropriate negative connotation, FALSE is a language meant to discourage even the cleverest programmers. Based on the Forth language, FALSE uses a punctuation based syntax (gross!) to help sour the programming experience.From the FALSE creator himself:

I designed this language with two particular objectives: confusing everyone with an obfuscated syntax, and designing as powerful a language as possible with a tiny implementation: in this case a compiler executable of just 1024 bytes (!), written in pure 68000 assembler.

Yet FALSE isn’t the most ridiculous of the esoteric languages, and could actually serve real world purposes, as the operations are reasonably sensible and the language isn’t extremely complex. Maybe somebody, someday, will make a useful real-world application out of the language…


9. Whenever
Imagine a surly teenager as a programming language, and you’ve got yourself Whenever. Whenever is a simple language that does what it wants, when it wants.

It takes the program code and treats each line as an item in a to-do list. The interpreter chooses an item from the list at random to execute, and executes the statement. In some cases, the statement will contain a clause that specifies that it cannot be executed until certain conditions apply. This results in the statement being deferred and placed back on the to-do list.

Don’t think for a minute you can actually control a Whenever program. Imagine how hard this makes programming something like “99 Bottles of Beer”! The program would return something that read like it had already consumed all 99.
view plaincopy to clipboardprint?

1. defer (4 || N(1)
2. defer (4 || N(1)==N(2)) print(“Take one down and pass it around,”);
3. defer (4 || N(2)==N(3)) print(N(1)+” bottles of beer on the wall.”);
4. 1#98,2#98,3#98;

10. l33t
Ever wanted to speak like a “l33t H4xX0r5”? Now you can by learning the l33t programming language. Check out the l33t “Hello World” application:
view plaincopy to clipboardprint?

1. // Note that the views expressed in this source code do not necessarily coincide with those of the author :o)
3. Gr34t l33tN3$$?
4. M3h…
5. iT 41n’t s0 7rIckY.
7. l33t sP33k is U8er keWl 4nD eA5y wehn u 7hink 1t tHr0uGh.
8. 1f u w4nn4be UB3R-l33t u d3f1n1t3lY w4nt in 0n a b4d4sS h4xX0r1ng s1tE!!! ;p
9. w4r3Z c0ll3cT10n2 r 7eh l3Et3r!
11. Qu4k3 cL4nS r 7eh bE5t tH1ng 1n teh 3nTIr3 w0rlD!!!
12. g4m3s wh3r3 u g3t to 5h00t ppl r 70tAl1_y w1cK1d!!
13. I’M teh fr4GM4stEr aN I’lL t0t41_1Ly wIpE teh phr34k1ng fL00r ***j3d1 5tYlE*** wItH y0uR h1dE!!!! L0L0L0L!
14. t3lEphR4gG1nG l4m3rs wit mY m8tes r34lLy k1kK$ A$$
16. l33t hAxX0r$ CrE4t3 u8er- k3wL 5tUff lIkE n34t pR0gR4mm1nG lAnguidGe$…
17. s0m3tIm3$ teh l4nGu4gES l00k jUst l1k3 rE41_ 0neS 7o mAkE ppl Th1nk th3y’r3 ju$t n0rMal lEE7 5pEEk but th3y’re 5ecRetLy c0dE!!!!
18. n080DY unDer5tAnD$ l33t SpEaK 4p4rT fr0m j3d1!!!!!
19. 50mE kId 0n A me$$4gEb04rD m1ghT 8E a r0xX0r1nG hAxX0r wH0 w4nT2 t0 bR34k 5tuFf, 0r mAyb3 ju5t sh0w 7eh wAy5 l33t ppl cAn 8E m0re lIkE y0d4!!! hE i5 teh u8ER!!!!
20. 1t m1ght 8E 5omE v1rus 0r a Pl4ySt4tI0n ch34t c0dE.
21. 1t 3v3n MiTe jUs7 s4y “H3LL0 W0RLD!!!” u ju5t cAn’T gu3s5.
22. tH3r3’s n3v3r anY p0iNt l00KiNg sC3pT1c4l c0s th4t, be1_1Ev3 iT 0r n0t, 1s whAt th1s 1s!!!!!
24. 5uxX0r5!!!L0L0L0L0L!!!!!!!

In real life, l33t is “teh sUxX0r” due to the fact that you can’t use it for anything useful. Ah well, back to hacking with all the other script kiddies and trolls!