Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
Member Login

Site Notices
Posted: 12/5/2007 6:42:14 AM EDT
I grew up doing programming on a number of different systems.. Personally id rather fix stuff than program. Anyway.. i was looking around on icanhascheeseburger.com and saw a reference to LOLcode.. After a quick Google i found a sample.. OMG! I love the style! check this out.


BTW LOLCODE version of 99 Bottles of beer
BTW By Mike Gogulski (http://www.gogulski.com/) 13 July 2007
BTW LOLCODE is a programming language by and for lolcats
BTW http://www.lolcode.com/
BTW
BTW Tested with:
BTW sjlol version 1.1 for lolcode 1.0
BTW Win32 binary: http://www.rit.edu/~sjl7678/sjlol.zip
BTW Home: http://lolcode.com/implementations/sjlol
BTW Online interpreter: http://wealhtheow.rh.rit.edu:8080/index
BTW (Doesn't work with comments, so delete all "BTW" lines)
BTW
BTW Save as 99BOTTLZ.LOL, start with "sjlol 99bottlz.lol"
BTW
BTW LOLCATZ CNT SPEL 2 GUD
BTW
HAI
VISIBLE "O HAI! IM IN UR BEERZ!"
I HAS A VAR
LOL VAR R 99
IM IN YR LOOP
VISIBLE VAR!
VISIBLE " BOTTLZ OF BEER N TEH WALL, "!
VISIBLE VAR!
VISIBLE " BOTTLZ OF BEER!"
VISIBLE "TAKE 1 DWN, PAS IT AROUN, "!
NERFZ VAR!!
IZ VAR LIEK 0?
YARLY
VISIBLE "NO MOAR"!
NOWAI
VISIBLE VAR!
KTHX
VISIBLE " BOTTLZ OF BEER N TEH WALL!"
IZ VAR LIEK 0?
GTFO
KTHX
KTHX
VISIBLE "GIEV MOAR PLZ! KTHXBAI!"
KTHXBYE


off to get more samples (and to look for samples of all statements), and chuckle to my self.. I figure there would be a few programmers here that would get a laugh out of it..
Link Posted: 12/5/2007 6:47:40 AM EDT
Cute.

-Foxxz
Link Posted: 12/5/2007 6:54:59 AM EDT
WOW even a book!

Link Posted: 12/5/2007 7:07:18 AM EDT


Originally Posted By Fat_McNasty:
WOW even a book!

icanhascheezburger.files.wordpress.com/2007/06/lolcode.jpg


Link Posted: 12/5/2007 7:09:24 AM EDT
*sniff* That brought a tear to me eye...
Link Posted: 12/5/2007 7:10:32 AM EDT
lolcode.com

I'm thinking of switching over and using it exclusively.
Link Posted: 12/5/2007 7:11:31 AM EDT
check out the whitespace language.

composed of spaces, tabs, line returns, etc. some people have made compilers.

all the code is invisible in most text editors.

http://compsoc.dur.ac.uk/whitespace/



Most modern programming languages do not consider white space characters (spaces, tabs and newlines) syntax, ignoring them, as if they weren't there. We consider this to be a gross injustice to these perfectly friendly members of the character set. Should they be ignored, just because they are invisible? Whitespace is a language that seeks to redress the balance. Any non whitespace characters are ignored; only spaces, tabs and newlines are considered syntax.
Link Posted: 12/5/2007 7:13:21 AM EDT
I'm really liking the syntax of it.. pretty damn intuitive!

Link Posted: 12/5/2007 7:19:18 AM EDT
Thats great, lol

Link Posted: 12/5/2007 7:24:32 AM EDT
[Last Edit: 12/5/2007 7:31:55 AM EDT by torstin]
i don't own a cat..or really even like them, but the whole lolcats meme has quite entertained me. good stuff. and i do find the cultural aspects interesting as well. in particular, the evolution of the cat caption language/grammar and how the cats have become noticeably "stupider" as the contributers become more mainstream.


eta. LOLCODE is definitely not an example of this. it was one of the earlier aspects.

Link Posted: 12/5/2007 8:45:55 AM EDT

Originally Posted By torstin:
i don't own a cat..or really even like them, but the whole lolcats meme has quite entertained me. good stuff. and i do find the cultural aspects interesting as well. in particular, the evolution of the cat caption language/grammar and how the cats have become noticeably "stupider" as the contributers become more mainstream.


eta. LOLCODE is definitely not an example of this. it was one of the earlier aspects.



LOL WUT?
Link Posted: 12/5/2007 8:52:01 AM EDT
Does it have OhTehNoes handling, or would we have to wait til LOLCode++?
Top Top