Sunday, 13 January 2008

Lolcode

Everyone remember that most delightful of memes - lolcats?

Proud parent lolcat
A typical lolcat

Well, in true geeky style, there's been a programming language invented which just so happens to be based around the very special grammar, spelling and sayings of the lolcat species.

HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
        UP VAR!!1
        VISIBLE VAR
        IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP
KTHXBYE

A basic counting loop, in LOLCODE

LOLCODE isn't, I must admit, as fully functional as many other languages, but the concept is absolutely fab. If you really, really want to do some programming in it - some effort has been made towards making that possible, including a LOLCODE to javascript converter that I promised to plug for Steve, who kindly writes ComicCMS, which powers Tie-Dye Heart.

Also brilliant are the Whitespace programming language, and the Shakespeare programming language - both worth a look even if you're not in any way a geek or a coder.

--

XKCD lolcats
XKCD makes the meme official

--

kthxbai

Leave a comment, or read the 1 comments so far.

Anonymous said...

HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE


Omg so awesome! :D

Recent Tweets