http://lolcode.com/
The scary thing is that there's even a working compiler for this.
Printable View
http://lolcode.com/
The scary thing is that there's even a working compiler for this.
took me 30 seconds to spot the first bug in one of their examples :)
is either a bug that would print both big number and littel number in teh case of a buig number, or else they are not specifying that a new case implies KTHX for the previous case.Code: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
so the code shoudl be
yay I just picked up a new language LOLXORZIHAVEALAZERGUNPEWPEWCode:HAI
CAN HAS STDIO?
I HAS A VAR
GIMMEH VAR
IZ VAR BIGGER THAN 10?
YARLY
BTW this is true
VISIBLE "BIG NUMBER!"
KTHX
NOWAI
BTW this is false
VISIBLE "LITTLE NUMBER!"
KTHX
KTHXBYE
shame shame shameQuote:
Actually, I think someone already mentioned this a while ago.
The fact that there's a lolcode for dummies enhances the viciousness of circle.
I don't like that N is an operator. I frequently use it as a looping variable, myself.
Doubtful . . . the only two threads that turn up when you search the boards for "lolcode" are this current one and this one: http://cboard.cprogramming.com/showthread.php?t=91127Quote:
Actually, I think someone already mentioned this a while ago.
Although it's not about the programming language lolcode, it's still rather amusing.
That has to be the dumbest language I've seen. I almost like VB more than lolcode.
At least the Shakespeare language as got some style about it ;)
Now cats can program.
As well as dogs, and the occasional hampster.Quote:
Originally Posted by indigo0086
>hampster
hamster. ;)
Not to mention ants! Teamwork all the way!
Give me enough ants, and I can program that computer!http://thinkexist.com/quotation/give...on/220792.html
Then perhaps its a deficiency in the specification, becasue there is no terminator for the YARLY(TRUE) condition. In C this is explicitly done by both the endign bracket } and the subsequent else keyword. As I said, the NOWAI keyword may in fact be used as the terminator, but this behavior is not specified.