Point83.com Forum Index  »  Westlake Center  »  LOLCode.net
 Post new topic   Reply to topic
Page 1 of 1    
 
martin
Posted: Wed Nov 14, 2007 11:42 am Reply with quote
Joined: 30 Jan 2006 Posts: 712

Geeks - this is for you:

http://www.hanselman.com/blog/TheWeeklySourceCode11LOLCodeDLREdition.aspx

Fulling functioning code in LOLCode.NET, with .net runtime support and a compiler. This code is the sample they gave - I love that "END" of the loop expression is "KTHX":


HAI

CAN HAS STDIO?
VISIBLE "HAI WORLD!"

I HAS A CODE ITZ "CRAZY"
VISIBLE CODE

I HAS A NUMBR
LOL NUMBR R 2
VISIBLE NUMBR TIEMZ 2

I HAS A FIB
I HAS A A ITZ 1
I HAS A B ITZ 0

VISIBLE "Fibonacci: "
GIMMEH FIB

IM IN YR
VISIBLE B

IZ FIB SMALR 1?
YARLY
GTFO
KTHX

I HAS A TEMP ITZ A UP B
LOL A R B
LOL B R TEMP

NERFZ FIB!!
KTHX

CAN HAS System?

VISIBLE CurrentDirectory ON Environment ON System
NJU Hashtable ON Collections ON System
I HAS A HT ITZ IT

I HAS A DT
LOL DT R DateTime ON System
VISIBLE Now ON DT

COL Add ON HT WIT "LolCode" AN "Rulezz!!"
VISIBLE COL get_Item ON HT WIT "LolCode"

COL Concat ON String ON System WIT "LolCode " AN "Rulezz!!"
VISIBLE IT

KTHXBYE
View user's profile Send private message
 
Reply to topic
Page 1 of 1    
Point83.com Forum Index  »  Westlake Center  »  LOLCode.net
All times are GMT - 8 Hours
The time now is Sat Aug 12, 2023 11:53 am
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 


Forums | Calendar | TOS | Tapirs

© 2004-2015 Point83
Point83 is a wholly owned subsidiary of the Joby Lafky Corporation