reading programs (part 2)
i continue my small series about esoteric programming languages with LOLCODE:
LOLCODE is inspired by the infamous lolcat internet meme. Lolcats are images distributed via the net with cats and their written “thoughts” on it. The language they speak is called lolspeak (lol is the net-acronym for “loughing out loud”) an english dialect. An example of lolspeak would be the question: “I Can Has Cheezburger?” (it’s also the name of the biggest lolcat-blog).
LOLCODE’s commands are modeled after lolspeak words and grammar. And so a typical “hello world”-program would look like this:
HAI CAN HAS STDIO? VISIBLE "HAI WORLD!" KTHXBYE
or a program that counts to ten:
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
unlike code poetry in the almost esoteric programming language perl, poems written in LOLCODE can also be understood or at least read by non-programmers.
(picture by kn0thing)
if you’d like to try it out yourself an online javascript translator and interpreter can be found here:
http://fullvolume.co.uk/static/lolcode/
more info:
http://lolcode.com/
http://www.icanhascheezburger.com
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.







1 Response to “reading programs (part 2)”.
brilliant! i will be writing my first lolcode program today.
Leave a comment.