LOLcode
category: general [glöplog]
http://lolcode.com/
Go forth and create.
Quote:
Programming the LOL way. All LOLCats, LOL, ALL CAPS.
HAI! This site provides community documentation of the emergent LOLCODE language. It is our hope that the examples can grow in a way that is both internally consistent and suggest a real, feasible computing language.
The best way to start the site is with some examples to give the flavor of the language.
Code:
HAI
CAN HAS DBASE?
I HAZ A VARIABLE1 IS NOTHING
IM IN YR DATA ;) "test.mdb"
CAN I PLZ GET column1 column2 column3
ALL UP IN table1
OMG column1 IZ BIGGER THAN 5
ALL UR BASE R BELONG 2 VARIABLE1
IM OUTTA YR DATA
VISIBLE VARIABLE1
KTHXBYE
Go forth and create.

I'm actually looking forward for them (?) to finish the syntax to write an interpreter.
I'm serious..
I'm serious..
if it includes the database parser i'm going to use it. it's surely not worse than writing actual SQL (and maps directly)
ooh, so much potential.. new container object, anyone?
Code:
HAI
I HAS A BUCKET
IM IN YR pond TAKIN ALL UR fish
PUT fish IN MAH BUCKET
IM OUTTA YR pond
KTHXBYE
OpenGL bindings, anyone?/////
With some extensions, maybe?
Code:
HAI
I MAKES A DISTORT
I HAS A SCREEN
I HAS A TEXTURE
I HAS A SINETABLE
I USES SCREEN
I USES TEXTURE
I HAS Y
IM IN YR YLOOP
I HAS X
I HAS A YOFFSET WHICH SEZ Y + GIMMEH SOMETHING FROM SINETABLE
IM IN YR XLOOP
I HAS A XOFFSET WHICH SEZ X + GIMMEH SOMETHING ELZE FROM SINETABLE
GIMMEH SINETABLE WITH XOFFSET + YOFFSET
IM IN YR SCREEN
PLOTTING UR PIXELZ
UP X!!1
IZ X BIGGER THAN SCREENREXZ? KTHXBYE
IM OUTTA YR XLOOP
UP Y!!1
IZ Y BIGGER THAN SCREENREXZ? KTHXBYE
IM OUTTA YR YLOOP
KTHXBYE
Quote:
// THIS BE SEALCODE!
CAN HAS SEAL?
CAN HAS BUCKET?
HAI
WHILE I HAS BUCKET == TRUE
{
SEAL -> POSE WITH BUCKET // MADNESS? THIS IS POINTAAAAA
VISIBLE "I HAS BUCKET!"
}
ELSE
{
BUCKET BE STEALED == TRUE
VISIBLE "THEY BE STEALIN' MA BUCKET!"
RETURN BUCKET // PLZ :(
}
KTHXBYE
ok ok, wrong BB code, so THAT BE SEALQUOTE :(
Code:
PRELOAD bucket;
PRELOAD seal;
PRELOAD pouet.net;
WIV trout DO
{
SLAP Barry.Goose
}
UNTIL Barry.Goose.nose.colour EQ COLOURS.RED;
BIGUP me USING bitches,
FOREACH bitch IN bitches DO
bitch.AnalFisting;
ENDFOREACH;
KTHXBYE
trc: doesnt lolpile, you forgot HAI :)