f13.net

f13.net General Forums => Serious Business => Topic started by: Evil Elvis on May 29, 2007, 07:38:15 AM



Title: LOLCODE!
Post by: Evil Elvis on May 29, 2007, 07:38:15 AM
I'm going to wait until there's some kind of Caturday.NET port.....

HAI! This site provides community documentation of the emergent LOLCODE language. It is our hope that the examples can grow in a way that is both internally consistent and suggest a real, feasible computing language.

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


http://lolcode.com/home


Title: Re: LOLCODE!
Post by: Murgos on May 29, 2007, 08:57:02 AM
Maybe WANT as a memory allocation operator?  And how about THINGIE as an Object declaration?  I don't care for the print and scan statements being VISIBLE and GIMMEH.   Maybe SO I SEZ as a print statement and LOL WAT <variable name> ? to request input?  I like IS LIEK for the -> or . operators.  Change STDIO to IM, and use STUFZ for the object library also...  HAI and KTHNX for block declarations work fine, they have like 8 different block things going on there

Something like this:

HAI

CAN I HAS IM?
CAN I HAS STUFZ?

BTW Object declaration

THINGIE TEXTS_THINGIE
HAI
    BTW weakly type variables similar to VB variant type?  Maybe could overload IZ for stronger typing?
    I HAS A TEXTS IZ TXT

    BTW Request input from user TEXTS is in the object scope and not redefined in the method so should be able to call it.  To designate local scope need something like this or me, maybe MAI?
    SO IM LIKE WAT_TEXTS
    HAI
        LOL WAT TEXTS?
        BTW local scope would be LOL WAT MAI TEXTS?
    KTHNX
   
    BTW Print value of TEXTS
    SO IM LIKE SEEING_MAH_TEXTS

        BTW Test TEXTS for NULL
        O RLY TEXTS NOT NOTHING?
            YA RLY
                SO I SAYZ TEXTS
            NO WAI
                SO I SAYZ "NO TEXTS!"
           KTHNX
    KTHNX
KTHNX

HAI

WANT TEXTS_THINGIE MY_THINGIE?

IM IN UR LOOP COUNTIN MY NUMZ FROM ZERO to TEN
HAI

    MY_THINGIE IS LEIK WAT_TEXTS

    MY THINGIE IS LEIK SEEING_MAH_TEXTS

    MOAR NUMZ

KTHNX

KTHNXBYE!

Wasted entirely to much time on this...


Title: Re: LOLCODE!
Post by: schild on May 29, 2007, 09:52:25 AM
This is brilliant.


Title: Re: LOLCODE!
Post by: schild on May 29, 2007, 10:09:05 AM
I absolutely love the following structure:

BTW
I HAS <variable>

I hope lolcode catches on.


Title: Re: LOLCODE!
Post by: Lantyssa on May 29, 2007, 11:27:43 AM
/headdesk


Title: Re: LOLCODE!
Post by: Furiously on May 29, 2007, 12:02:55 PM
IM IN UR LOOP COUNTIN MY NUMZ FROM ZERO to TEN

- I like it.

My addition -

RLY = true
NotRLY = False


Title: Re: LOLCODE!
Post by: schild on May 29, 2007, 12:40:45 PM
NOTRLY = FALSE
YARLY = TRUE


Title: Re: LOLCODE!
Post by: Yegolev on May 29, 2007, 01:09:06 PM
I would gladly learn this language and use it on a daily basis.


Title: Re: LOLCODE!
Post by: bhodi on May 29, 2007, 01:49:03 PM
I'm with lant.

/headdesk


Title: Re: LOLCODE!
Post by: Righ on May 29, 2007, 03:44:41 PM
STFU = clear screen
NOOB = define variable


Title: Re: LOLCODE!
Post by: Chimpy on May 29, 2007, 03:51:10 PM
I'm with lant.

/headdesk

+however many that is now.


Title: Re: LOLCODE!
Post by: tazelbain on May 29, 2007, 03:52:55 PM
HUH? - try
WTF  - catch
cool   - finally


Title: Re: LOLCODE!
Post by: Sauced on May 29, 2007, 03:53:39 PM
NOTRLY = FALSE

This will never fly in the Standards committee.  It's "NOWAI", and that's that.


Title: Re: LOLCODE!
Post by: Righ on May 29, 2007, 05:32:08 PM
It's "NOWAI", and that's that.

QFT.


Title: Re: LOLCODE!
Post by: Furiously on May 29, 2007, 09:26:25 PM
I think it should have line numbers too.


Title: Re: LOLCODE!
Post by: Righ on May 29, 2007, 09:52:42 PM
And an Identification Division that is separated from the Procedural Division with FIRST.


Title: Re: LOLCODE!
Post by: Llava on June 12, 2007, 02:15:47 AM
           KTHNX
    KTHNX
KTHNX

For some reason, I'm cracking up over this in particular.


Title: Re: LOLCODE!
Post by: Oban on June 15, 2007, 08:12:47 AM
(http://www.clisham.com-a.googlepages.com/lolcode_r.jpg)


Title: Re: LOLCODE!
Post by: Lantyssa on June 15, 2007, 09:52:07 AM
The code isn't so funny, but the book mock up is hillarious.


Title: Re: LOLCODE!
Post by: schild on June 15, 2007, 11:31:30 AM
Oh god.

I didn't notice "ur code is betterz now." shit that's funny.


Title: Re: LOLCODE!
Post by: Lantyssa on June 15, 2007, 12:30:23 PM
O'RLY as the publisher is what got me.


Title: Re: LOLCODE!
Post by: Trippy on June 15, 2007, 05:02:39 PM
Somebody made a "Nutshell" version too:

(http://farm2.static.flickr.com/1292/531257569_e405cb8660_m.jpg)


Title: Re: LOLCODE!
Post by: schild on June 16, 2007, 02:58:44 AM
O'RLY.

Heh.


Title: Re: LOLCODE!
Post by: Teleku on June 18, 2007, 09:57:43 AM
So they apparently got it to pass turing completness with this hunk of code (http://forum.lolcode.com/viewtopic.php?id=51) which compiles and runs on the lolcode.net compiler (http://code.google.com/p/lolcode-dot-net/) they developed.

Thats actually kind of scary.


Title: Re: LOLCODE!
Post by: Samwise on June 18, 2007, 03:58:25 PM
Scary and AWESOME.