What happens when you take one helping of lolcats and twist it around until it's a programming language?
LOLCODE (!!!)
Examples from the site:
HAI WORLD:
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
COUNT!!1:
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
FILEZORZ:
HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE
I especially like the
PLZ
/ AWSUM THX
/ O NOES
keywords for try/catch/except. :)If you are looking to run some of this code, I tried out sjl7678's interpreter and it seemed to run well enough.
Let the good times in geekery ensue! :)
KTHXBYE!
No comments:
Post a Comment