Some people contend training to module is hard, vapid and excruciating. It’s like training a new language, usually to pronounce to a appurtenance that needs to be told in unequivocally specific commands what to do and execute. For some reason, a organisation of people seem to consider that programming itself isn’t difficult enough, and so ‘esolang’ was born.
Welcome to a universe of enigmatic programming languages (aka esolang), where programmers pull a conventions of denunciation design. These languages are not meant to be easy to use. Quite a opposite, they are designed to challenge, perplex and entertain programmers with their difficulty. There are many esolangs out there for we try nonetheless here are 15 of a many weird and violent of a lot.
Recommended Reading: 10 Misconceptions That Are Not True About Learning Programming
1. Brainf*ck
True to a name, this programming denunciation will give any programmer an present headache. It was combined by Urban Müller in 1993, as a denunciation that could be implemented by a unequivocally tiny compiler, to entertain a programmer. The denunciation uses usually 8 commands and an instruction pointer, any done adult of a singular character, creation this an impossibly minimalistic language. Below is a representation of a headache-inducing code, one that will imitation out ‘Hello World!’:
+++++ +++ Set Cell #0 to 8
[
++++ Add 4 to Cell this will always set Cell #1 to 4
[ as a dungeon will be privileged by a loop
++ Add 2 to Cell #2
+++ Add 3 to Cell #3
+++ Add 3 to Cell #4
+ Add 1 to Cell #5
+ Add 1 to Cell #2
+ Add 1 to Cell #3
- Subtract 1 from Cell #4
+ Add 1 to Cell #6
[. Cell #2 has value 72 that is 'H'
---. Subtract 3 from Cell #3 to get 101 that is 'e'
+++++ ++..+++. Likewise for 'llo' from Cell #3
. Cell #5 is 32 for a space
+. Add 1 to Cell #5 gives us an exclamation point
++. And finally a newline from Cell #6
2. LOLCODE
LOLCODE is done adult of lolspeak, a ‘language’ used by lolcats. The denunciation was designed by Adam Lindsay in 2007, a researcher during Lancaster University’s Computing Department. The denunciation isn’t as finish as normal ones, with syntax and user priorities not clearly tangible nonetheless there are functioning compliers for that accessible out there. The hilarity and cuteness of a denunciation some-more that creates adult for this though. Just take a demeanour during a ‘Hello World!’ formula below:
HAI
CAN HAS STDIO?
VISIBLE "Hello World!"
KTHXBYE
3. Befunge
Similar to Brainf*ck, Befunge was grown by Chris Pressey in 1993, with a aim of formulating a denunciation that would be as tough to accumulate as possible. He does this by implementing self-modifying formula and carrying a same instruction being executed in 4 opposite ways, not to discuss a instruction set itself. However, a series of compilers were eventually created. Below is a source formula for ‘Hello World!’:
v
v ,,,,,"Hello"48*, v
v,,,,,,"World!"25*,@
4. ArnoldC
Here is a programming denunciation done wholly out of one-liners from cinema featuring Arnold Schwarzenegge, classics such as Terminator, Predator and Total Recall. ArnoldC was combined by Lauri Hartikka, who replaced out customary commands with their homogeneous Arnold one-liner. Example includes False and True, that becomes "I LIED" and "NO PROBLEMO", respectively. Here’s how a "Hello World!" formula would demeanour like:
IT'S SHOWTIME
TALK TO THE HAND "Hello World!"
YOU HAVE BEEN TERMINATED
5. Shakespeare
If bodybuilding Austrian actors isn’t your thing, we might cite a Shakespeare programming language. Created by Jon Aslund and Karl Hesselstörm, a aim was to make a programming denunciation that didn’t demeanour like one. In this case, a source formula looks accurately like a Shakespeare play. Variables contingency be named after Shakespearian characters and constants are motionless by certain or disastrous nouns.
A "Hello World!" representation is utterly long, reading accurately like a play, so here is usually partial of a source formula (the full one is accessible here):
The Infamous Hello World Program.
Romeo, a immature male with a conspicuous patience.
Juliet, a further immature lady of conspicuous grace.
Ophelia, a conspicuous lady many in brawl with Hamlet.
Hamlet, a adulator of Andersen Insulting A/S.
Act I: Hamlet's insults and flattery.
Scene I: The scornful of Romeo.
[Enter Hamlet and Romeo]
Hamlet:
You fibbing foolish fatherless large sharp half-witted coward!
You are as foolish as a disproportion between a large abounding brave
favourite and thyself! Speak your mind!
You are as dauntless as a sum of your fat small pressed dissipated dusty
aged decaying codpiece and a pleasing satisfactory comfortable pacific balmy summer's
day. You are as healthy as a disproportion between a sum of the
sweetest reddest rose and my father and yourself! Speak your mind!
You are as villainous as a sum of yourself and a difference
between a large strong unapproachable dominion and a horse. Speak your mind.
Speak your mind!
[Exit Romeo]
6. Chef
Similar to Shakespeare, Chef, combined by David Morgan-Mar, is a programming denunciation that doesn’t demeanour like one, looking instead like a cooking recipe. The pattern beliefs of a denunciation is that
- the formula should not usually beget current outlay nonetheless a outlay contingency be easy to ready and delicious
- recipes interest to cooks with opposite budgets
- the recipes have to be metric
In other words, a recipes contingency work as code, AND can be prepared and eaten. The source formula for a ‘Hello World!’ module is accessible below:
Hello World Souffle.
This recipe prints a imperishable difference "Hello world!",
in a fundamentally beast force way.
It also creates a lot of food for one person.
Ingredients.
72 g haricot beans
101 eggs
108 g lard
111 cups oil
32 zucchinis
119 ml water
114 g red salmon
100 g dijon mustard
33 potatoes
Method.
Put potatoes into a blending bowl.
Put dijon mustard into a blending bowl.
Put lard into a blending bowl.
Put red salmon into a blending bowl.
Put oil into a blending bowl. Put H2O into a blending bowl.
Put zucchinis into a blending bowl. Put oil into a blending bowl.
Put lard into a blending bowl. Put lard into a blending bowl.
Put eggs into a blending bowl. Put haricot beans into a blending bowl.
Liquefy essence of a blending bowl.
Pour essence of a blending play into a baking dish.
Serves 1.
7. Whitespace
Whitespace was combined by Edwin Brady and Chris Morris as an Apr Fools’ joke. Where many programming languages omit whitespace characters, Whitespace uses them as commands, ignoring non-whitespace characters instead. Because of this, Whitespace formula can be combined inside programming languages that omit whitespace. Below is a ‘Hello World!’ source formula combined in Whitespace (color is used for clarity).
(Image Source: Wikipedia)
8. Piet
Named after Piet Mondrian, Piet is nonetheless another enigmatic programming denunciation combined by David Morgan-Mar. The module is gathered by a pointer that will pierce around a image, from one territory to a other. The formula is in a color; a colors is review by a compiler to spin into a program. Below is an instance of a ‘source code’, with a outlay being ‘Hello World!’:
(Image Source: Wikipedia)
9. Chicken
Chicken. This is a programming denunciation consisting of usually one word: chicken. It was combined by Swedish programmer Torbjörn Söderstedt, who was desirous to emanate it after conference Doug Zongker’s satire of systematic speeches (which nobody understands). Rather than display a formula for ‘Hello World!’, that would take half a page and include of zero nonetheless a word ‘chicken’, here is a paper and display that desirous a language:
10. Ook!
Ook! is a derivative of Brainf*ck, and is combined by sequence enigmatic denunciation developer, David Morgan-Mar. The structure is a same, solely a 8 commands are replaced with combinations of “Ook.”, “Ook?” and “Ook!”. The aim was to create, and we child we not, a programming denunciation “writable and entertaining by orangutans”. Below is a source formula for ‘Hello World!’:
Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook.
Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook?
Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook.
Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook.
11. reMorse
Developed by Ryan Kusnery, ReMorse is a programming denunciation that was done to demeanour like Morse code. There are usually 4 instructions: dot (.), dotty (. followed by a space), lurch (-) and dasher (- followed by a space). The specifications of ReMorse were unclear, and ReMorse2 was combined as an try to purify a formula adult a bit. Below is an deficient representation for ‘Hello World!”:
- - - ..- ...-.---.;newline
- - - .-. - ..-.- ...-. ---.;!
- - - ...- . . -.---.;d
----. . . -.---.;l
----. . -...---.;r
----. -...---.;o
----...-.- ..-. ---.;W
wanting formula for "Hello " is identical to a above for "World!"
-..............;output all characters
12. l33t
Anyone who has ever spent even a bit of time on a internet knows what l33t sp34k (leet speak) is — users surrogate difference and letters with numbers and intentionally bad spelling. Two programmers, Stephen McGreal and Alex Mole, motionless that it would be a good thought to emanate a programming denunciation out of it and so l33t was born. As with many other enigmatic languages, it was designed to be as “brain-melting as probable to formula in”. Below is a source formula for ‘Hello World!’:
// "Hello World" by Stephen McGreal.
// Note that a views voiced in this source code
// do not indispensably coincide with those of a author :o)
Gr34t l33tN3$$?
M3h...
iT 41n't s0 7rIckY.
l33t sP33k is U8er keWl 4nD eA5y wehn u 7hink 1t tHr0uGh.
1f u w4nn4be UB3R-l33t u d3f1n1t3lY w4nt in 0n a b4d4sS h4xX0r1ng s1tE!!! ;p
w4r3Z c0ll3cT10n2 r 7eh l3Et3r!
Qu4k3 cL4nS r 7eh bE5t tH1ng 1n teh 3nTIr3 w0rlD!!!
g4m3s wh3r3 u g3t to 5h00t ppl r 70tAl1_y w1cK1d!!
I'M teh fr4GM4stEr aN I'lL t0t41_1Ly wIpE teh phr34k1ng fL00r ***j3d1 5tYlE***
wItH y0uR h1dE!!!! L0L0L0L!
t3lEphR4gG1nG l4m3rs wit mY m8tes r34lLy k1kK$ A$$
l33t hAxX0r$ CrE4t3 u8er- k3wL 5tUff lIkE n34t pR0gR4mm1nG lAnguidGe$...
s0m3tIm3$ teh l4nGu4gES l00k jUst l1k3 rE41_ 0neS 7o mAkE ppl Th1nk th3y'r3 ju$t
n0rMal lEE7 5pEEk nonetheless th3y're 5ecRetLy c0dE!!!!
n080DY unDer5tAnD$ l33t SpEaK 4p4rT fr0m j3d1!!!!!
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!!!!
1t m1ght 8E 5omE v1rus 0r a Pl4ySt4tI0n ch34t c0dE.
1t 3v3n MiTe jUs7 s4y "H3LL0 W0RLD!!!" u ju5t cAn'T gu3s5.
tH3r3's n3v3r anY p0iNt l00KiNg sC3pT1c4l c0s th4t, be1_1Ev3 iT 0r n0t,
1s whAt th1s 1s!!!!!
5uxX0r5!!!L0L0L0L0L!!!!!!!
13. Omgrofl
Omgrofl (which stands for ‘oh my God rolling on a floor’) was combined by Juraj Borza where all a commands are done adult of internet acronyms such as lol, wtf, brb, stfu, etc. All variables announced with a denunciation contingency be in a form of lol, e.g. lol, lool, loool, etc. Here’s what a source formula for ‘Hello World!’ looks like:
loool iz lol
looooool iz lool
rtfm
wtf looooool iz liek 0
tldr
brb
lmao loool
roflmao looooool
brb
14. Velato
Velato is a denunciation combined by Daniel Temkin that uses MIDI files as a source code. The commands are dynamic by a a representation and sequence of records and a source codes combined regulating Velato tend to have a jazz-like sound to them. The ‘Hello World!” instance given next is what a ‘source code’ looks like:
(Image Source: Daniel Temkin)
15. Malbolge
If a programming denunciation is named after a eighth round of Hell, we know what to expect. Created by Ben Olmstead in 1998, Malbolge was designed to be near-impossible to module it. In fact, it was not manmade — it is combined regulating an algorithm. It’s no consternation that it took 2 years for a module to materialize. This is a source formula for ‘Hello World!’ for this unfit programming denunciation to give we an thought of a idiocy in a code.
(=
15 Bizarre (And Insane) Programming Languages That Exist
Nenhum comentário:
Postar um comentário