« 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!

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name is required. Email address will not be displayed with the comment.)

My Photo

Mailing List

  • Sign up

Heather Vescent


  • How can I help you?

Podcasts

  • Helping you understand the future.

  • Helping you understand the future.