U CAN HAZ UR LOLCODE

i-25efec8053c94637ca3cff0c6237f210-LOLcode_book.jpgThanks to Evan I am now aware of LOLcode. I knew there was a proposal, but I had no idea how much it had advanced. LOLcode is being developed in a series of projects that I would divide into two categories: Bleeders and sneakers.

Bleeders are implementations in a particular interpreted language (so far all LOLcode implementations are interpreted) whereby the syntax or other important aspects of the interpreter 'bleed through' to the LOLcode implementation. The bloodies of the bleeders are simple translators, while others strive for more. Sneakers are implementations where the LOLcode is pure, even though the underlying structure is not a C (or machine language) based engine.

Interestingly, there are more Python based LOLcode versions than, say, perl. I find this odd because while Python has certain features that are clearly aligned with LOLese (such as namespaces and the "try" token) perl is inherently more LOLesque. Perhaps perl programmers already feel LOLenough to not bother.

Here are some examples of LOLcode bleeder implementation in different languages:

for the shell:

#!/bin/bash the mouzee

iherz u "Hai I'm in ur werld"

kthnxbye (0)

python:

#!/usr/bin/paithon

BTW I'M IN UR COMMENT
BTW ENDLESS LUP XMPLE

for ai in range (jesnow, ferevah):
caniseez "hai werld"

basic:

100 BTW use line numberz
110 I can haz input? "type your name, human" A$;
120 if be A$ iz nothin GO2 110
130 print "OH, HAI "; A$
140 kthnxbye

For more information on LOLcode go here.

Tags

More like this