Lolcode

Tony Hardie-Bick EMAIL HIDDEN
Sun Dec 21 17:50:36 CET 2008


God help you if you ever get into C++.

Andrew Robinson wrote:
> Maybe I've been looking to too many lolcats, but Lolcode makes a lot
> more sense than objective-C to me...
> 
> HAI
> CAN HAS STDIO?
> VISIBLE "HAI WORLD!"
> KTHXBYE
> 
> that's a simple hello-world app in Lolcode, (lolcode.com for full syntax)
> 
> This example shows conditional execution and user input (GIMMEH), and
> the comment syntax (BTW)
> 
> HAI
> CAN HAS STDIO?
> I HAS A VAR
> GIMMEH VAR
> IZ VAR BIGGER THAN 10?
> 	YARLY
> 		BTW this is true
> 		VISIBLE "BIG NUMBER!"
> 	NOWAI
> 		BTW this is false
> 		VISIBLE "LITTLE NUMBER!"
> 	KTHX
> KTHXBYE
> 
> here are loops and conditional breaks
> 
> HAI
> CAN HAS STDIO?
> I HAS A VAR
> IM IN YR LOOP
> 	UPZ VAR!!1
> 	VISIBLE VAR
> 	IZ VAR BIGR THAN 10? GTFO. KTHX
> KTHX
> KTHXBYE
> 
> Variables are integers, unless specified as strings (YARN) or arrays (BUKKIT)
> 
> - Andy_R
> _______________________________________________
> music-bar mailing list
> music-bar at lists.music-bar.org
> http://lists.music-bar.org/cgi-bin/mailman/listinfo/music-bar




More information about the music-bar mailing list