« Fko Interuption | Main | Kicking it Old School Social Networking Style »

June 15, 2007

Comments

Travis Savo

Funny, I wrote a C port of LOLCODE this weekend, because we're coding in C atm.

Here's my port to C, and an example that will compile in a C compiler. :)

#define GTFO break
#define HAI {
#define KTHX }
#define KTHXBYE }
#define O
#define RLY?
#define I
#define HAS
#define A int
#define ITZ =
#define IM
#define IN
#define YR
#define LOOP while(true){
#define DIAF(x) exit(x)
#define IZ(x) if( (x) )
#define YA
#define RLY {
#define NO }
#define WAI else {
#define BIGR_THAN >
#define SMALR_THAN <
#define LIEK ==
#define UP +
#define NERF -
#define TIEMZ *
#define OVAR /
#define UP_VAR ++
#define NERF_VAR –-
#define LOL ;
#define VISIBLE(x) cout << string(x)

HAI
I HAS A CHEEZBURGER ITZ 1 LOL
IM IN YR LOOP
VISIBLE("I has dis many: ") LOL
VISIBLE(CHEEZBURGER) LOL
IZ(CHEEZBUGER BIGGER THAN 11) O RLY?
YA RLY
GTFO LOL
NO WAI
CHEEZBURGER UP_VAR LOL
KTHX
KTHX
KTHXBYE

Yeah. I'm a BIG geek.

heathervescent

Travis. That is awesome!

The comments to this entry are closed.

My Photo

Mailing List

  • Sign up

Heather Vescent


  • How can I help you?

Podcasts

  • Helping you understand the future.

  • Helping you understand the future.