THE BORE
General => The Superdeep Borehole => Topic started by: Howard Alan Treesong on May 29, 2007, 06:51:20 PM
-
LOLCode (http://lolcode.com/home) combines classical Boolean-logic based programming with Internet memes to create a truly new programming language for the 21st century.
LOLCode has Hello World:
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
LOLCode has iteration loops:
HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
UP VAR!!1
VISIBLE VAR
IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP
KTHXBYE
LOLCode handles files with industry-standard try/catch syntax:
HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE
LOLCode is currently being expanded to include an event-driven model known as "ON CATURDAY."
LOLCode offers a robust programming toolset and lots of lulz. Expect this to be the industry standard by 2009.
-
LOL IM CODING
KTHXBYE
-
:lol :lol :lol
-
This is better than Chef!
-
CLS
OMG LOLERZ
END
-
exceptions (try/catch) should be handled with O RLY? and YA RLY.
-
PLZ and O NOES as exception control keywords is totally awesome.
IZ VAR BIGGER THAN 10 O RLY?
YA RLY
BTW this is true
VISIBLE "BIG NUMBER!"
NO WAI
BTW this is false
VISIBLE "LITTLE NUMBER!"
KTHX
I like the O RLY/YA RLY/NO WAI used for if/else logic. That's pretty awesome.
Also, I HAS A VAR is brilliant.
-
ON CATURDAY
IM IN YR BED
I IZ SLEEPIN!!10
VISIBLE "Z!"
IM OUTTA YR BED
KTHXBYE
:lol
-
Garbage collection should use SHOOP DA WOOP as the GC interface itself, with CHARGIN MY LAZOR for the disposing event and FIRIN MY LAZOR for the disposed event.
OMG should indicate interface inheritance, so we have:
DIS IZ LOLOBJECT OMG SHOOP DA WOOP
...
ON CATURDAY
IM CHARGIN MY LAZOR!!110
...
ON CATURDAY
IM FIRIN MY LAZOR!!10
...
KTHXBYE
-
---- ----
- . - - . -
---- ----
-
Templating should be done by the "so and so" is "so and so" template meme.
I HAS A VAR
VAR LINKLIST IS LINKED
-
haha, #pragma preprocessor declarations should use IZ IT CAN IT BE...
IZ IT CAN IT BE __WIN32??
-
what the fuck are you guys on about jresus christ oblivion is stilll ruinedFIX THAT SHIT IM HHAVINGA HEART ATTACK OPVER HERE I MUST HOAVE OBLIONS OLD GRAPHICS HHHHXGFSDGYUHFUTCXGVKJVJGVCKLLH GAMESTOP SUX PS3 SUX FUCK WHOEVER SAID IT WAS BWETTER LOOKIN THAN OLD OBLIOVION