Twisted, Genius, and Cute, all in one language.
LOLCODE. A programming language for lolcats.
Some examples follow.
First… Well, what else could possibly be first?
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
And here’s an if/then construct with some I/O action:
HAI
CAN HAS STDIO?
I HAS A VAR
GIMMEH VAR
IZ VAR BIGGER THAN 10?
YARLY
BTW this is true
VISIBLE "BIG NUMBER!
NOWAI
BTW this is false
VISIBLE "LITTLE NUMBER!"
KTHX
KTHXBYE
There is a current spec available here. And, may the Sweet Lord Jesus help us all, there are even implementations.
And yes. It’s turing-complete. Which means that any program you can write in any programming language – such as spreadsheets, word-processing programs, games, or a program to provide firing solutions for nuclear missiles – can be written in LOLCODE.
Gives me a warm fuzzy feeling inside.
4 responses to “OH HAI, I CAN HAS TURING-COMPLETE?”
I’ll be honest with you, sir: I’m scared.
Are you all right? 🙂
It’s this sort of shit that makes me hate cats with the burning intensity of a sun going supernova.
is this the kind of sweet talk you use on the ladies to get some hot three in a bed action then?
They can’t resist my l337 skillz.