Welcome
Welcome to dinksoftware

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

LOLCODE

Programming tutorials, tips, questions and help etc...

LOLCODE

Postby Dink » Sat Jul 17, 2010 8:31 pm

Take a look at http://en.wikipedia.org/wiki/LOLCODE an actual limited functionality programing language.

Example code (from Wikipedia):

Code: Select all
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE


Code: Select all
HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
     AWSUM THX
         VISIBLE FILE
     O NOES
         INVISIBLE "ERROR!"
KTHXBYE


Code: Select all
HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
   UP VAR!!1
   IZ VAR BIGGER THAN 10? KTHX
   VISIBLE VAR
IM OUTTA YR LOOP
KTHXBYE


Code: Select all
HAI
CAN HAS STDIO?
IM IN YR LOOP UPPIN YR VAR TIL BOTH SAEM VAR AN 10
    VISIBLE SUM OF VAR AN 1
IM OUTTA YR LOOP
KTHXBYE


This is comical lol. Good news Holiverh, there is also a LolPython project lol. :ugeek:
User avatar
Dink
 
Posts: 531
Joined: Sat Jul 11, 2009 9:59 am
Location: Australia

 

Re: LOLCODE

Postby Holiverh » Sun Jul 18, 2010 2:16 am

Ah, LOLCODE. I remember stumbling across this a while ago. I'm surprised i can understand the examples you posted... i feel so 1337. :lol:
User avatar
Holiverh
 
Posts: 243
Joined: Sun Jul 12, 2009 10:37 am
Location: East Anglia, UK

Re: LOLCODE

Postby Unknown98 » Wed Jul 21, 2010 8:20 am

Lol
http://www.salesmangame.com
We have an IRC channel! #Salesman on coldfront
User avatar
Unknown98
 
Posts: 97
Joined: Sun Jul 12, 2009 11:30 am
Location: Houston


Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred