PDA

View Full Version : Mikaela's in yr language, programmin yr shit


chrismcavoy
05-30-2007, 04:11 PM
http://lolcode.com/

Please, Mikaela, I demand you learn how to program in this language.

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

Chip
05-30-2007, 08:56 PM
The intersection of people who get/enjoy this has got to be so fucking small. And yet I'm one of them.

"CAN HAS STDIO?"

Hilarious!

-Chip

Fenstermaker
05-30-2007, 09:50 PM
you guys are retired.

whatebs.

stetsko
05-31-2007, 04:27 AM
I might have kept coding if I could have used "O NOES" as a switch.

K.

chrismcavoy
05-31-2007, 03:58 PM
I like the KTHXBYE.

I haven't looked too deeply into this thing...but I heard that someone wrote a grammar for it in PLY, which is a Python parser / lexer / compiler thingee. If that's true, you could write a program in lolcode, and compile it to Python.

Which is dope.

chrismcavoy
05-31-2007, 04:03 PM
Here's the Python interpreter: http://lolcode.com/contributions/sjl7678-s-interpreter

Chris

greenbean
05-31-2007, 10:01 PM
they use that for this site too:

http://icanhascheezburger.com/