PeriodicPreoccupationsProjectsPicturesPersonPing

Recent musings

lolcode

Inspired by David McRaney, Anil Dash, and my dear friend Anne, I started thinking of kitty pidgin and its simple grammar, the idea struck me, what else deals with simple grammars?

I bring to you LOLCODE, an as-yet unspecified and unimplemented programming language.

The first step is always Hello World:

HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

Oh. That was quite easy. The next thing people learn to do is count to ten:

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

I suppose you could count the even numbers by saying "UP VAR!!2".

Error checking on file open (and then conditionally printing the file) would be the next thing to implement:

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

Have any other contributions? Keep on the lookout for lolcode.com....

[Update: That was the soft launch. Did you miss it?]

Related Entries:
About the Dissociated Mixes
Twitstream
Launchpad, Github, Bitbucket
Writing on remix
LOLCODE and ROFLCon Remembrance
Comments (13)  Permalink