Came across this little gem on Tom Copeland's blog today: LOLCode

I think the prize for best syntax goes to exception handling:

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

Although it appears this will expanded on considerably in version 1.3 of the language.

Itching to play with LOLCode? There's a JavaScript imlpementation here. There's even a Ruby interpreter that can run a brainfuck intepreter written in LOLCode. (I'm pretty sure that is the definition of polyglot programming.)

Sadly there does not appear to be a TextMate bundle yet, so personally I won't be diving into LOLCode any time soon.

Leave a Reply