Welcome, Guest. Please login or register.
July 20, 2025, 10:13:51 PM

Login with username, password and session length

Search:     Advanced search
we're back, baby
*
Home Help Search Login Register
f13.net  |  f13.net General Forums  |  General Discussion  |  Serious Business  |  Topic: LOLCODE! 0 Members and 1 Guest are viewing this topic.
Pages: [1] Go Down Print
Author Topic: LOLCODE!  (Read 6947 times)
Evil Elvis
Terracotta Army
Posts: 963


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
Murgos
Terracotta Army
Posts: 7474


Reply #1 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...
« Last Edit: May 29, 2007, 09:57:06 AM by Murgos »

"You have all recieved youre last warning. I am in the process of currently tracking all of youre ips and pinging your home adressess. you should not have commencemed a war with me" - Aaron Rayburn
schild
Administrator
Posts: 60350


WWW
Reply #2 on: May 29, 2007, 09:52:25 AM

This is brilliant.
schild
Administrator
Posts: 60350


WWW
Reply #3 on: May 29, 2007, 10:09:05 AM

I absolutely love the following structure:

BTW
I HAS <variable>

I hope lolcode catches on.
Lantyssa
Terracotta Army
Posts: 20848


Reply #4 on: May 29, 2007, 11:27:43 AM

/headdesk

Hahahaha!  I'm really good at this!
Furiously
Terracotta Army
Posts: 7199


WWW
Reply #5 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

schild
Administrator
Posts: 60350


WWW
Reply #6 on: May 29, 2007, 12:40:45 PM

NOTRLY = FALSE
YARLY = TRUE
Yegolev
Moderator
Posts: 24440

2/10 WOULD NOT INGEST


WWW
Reply #7 on: May 29, 2007, 01:09:06 PM

I would gladly learn this language and use it on a daily basis.

Why am I homeless?  Why do all you motherfuckers need homes is the real question.
They called it The Prayer, its answer was law
Mommy come back 'cause the water's all gone
bhodi
Moderator
Posts: 6817

No lie.


Reply #8 on: May 29, 2007, 01:49:03 PM

I'm with lant.

/headdesk
Righ
Terracotta Army
Posts: 6542

Teaching the world Google-fu one broken dream at a time.


Reply #9 on: May 29, 2007, 03:44:41 PM

STFU = clear screen
NOOB = define variable

The camera adds a thousand barrels. - Steven Colbert
Chimpy
Terracotta Army
Posts: 10633


WWW
Reply #10 on: May 29, 2007, 03:51:10 PM

I'm with lant.

/headdesk

+however many that is now.

'Reality' is the only word in the language that should always be used in quotes.
tazelbain
Terracotta Army
Posts: 6603

tazelbain


Reply #11 on: May 29, 2007, 03:52:55 PM

HUH? - try
WTF  - catch
cool   - finally

"Me am play gods"
Sauced
Terracotta Army
Posts: 904

Bat Country '05 Fantasy Football Champion


Reply #12 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.
Righ
Terracotta Army
Posts: 6542

Teaching the world Google-fu one broken dream at a time.


Reply #13 on: May 29, 2007, 05:32:08 PM

It's "NOWAI", and that's that.

QFT.

The camera adds a thousand barrels. - Steven Colbert
Furiously
Terracotta Army
Posts: 7199


WWW
Reply #14 on: May 29, 2007, 09:26:25 PM

I think it should have line numbers too.

Righ
Terracotta Army
Posts: 6542

Teaching the world Google-fu one broken dream at a time.


Reply #15 on: May 29, 2007, 09:52:42 PM

And an Identification Division that is separated from the Procedural Division with FIRST.

The camera adds a thousand barrels. - Steven Colbert
Llava
Contributor
Posts: 4602

Rrava roves you rong time


Reply #16 on: June 12, 2007, 02:15:47 AM

           KTHNX
    KTHNX
KTHNX

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

That the saints may enjoy their beatitude and the grace of God more abundantly they are permitted to see the punishment of the damned in hell. -Saint Thomas Aquinas, Summa Theologica
Oban
Terracotta Army
Posts: 4662


Reply #17 on: June 15, 2007, 08:12:47 AM


Palin 2012 : Let's go out with a bang!
Lantyssa
Terracotta Army
Posts: 20848


Reply #18 on: June 15, 2007, 09:52:07 AM

The code isn't so funny, but the book mock up is hillarious.

Hahahaha!  I'm really good at this!
schild
Administrator
Posts: 60350


WWW
Reply #19 on: June 15, 2007, 11:31:30 AM

Oh god.

I didn't notice "ur code is betterz now." shit that's funny.
Lantyssa
Terracotta Army
Posts: 20848


Reply #20 on: June 15, 2007, 12:30:23 PM

O'RLY as the publisher is what got me.

Hahahaha!  I'm really good at this!
Trippy
Administrator
Posts: 23657


Reply #21 on: June 15, 2007, 05:02:39 PM

Somebody made a "Nutshell" version too:


schild
Administrator
Posts: 60350


WWW
Reply #22 on: June 16, 2007, 02:58:44 AM

O'RLY.

Heh.
Teleku
Terracotta Army
Posts: 10516

https://i.imgur.com/mcj5kz7.png


Reply #23 on: June 18, 2007, 09:57:43 AM

So they apparently got it to pass turing completness with this hunk of code which compiles and runs on the lolcode.net compiler they developed.

Thats actually kind of scary.

"My great-grandfather did not travel across four thousand miles of the Atlantic Ocean to see this nation overrun by immigrants.  He did it because he killed a man back in Ireland. That's the rumor."
-Stephen Colbert
Samwise
Moderator
Posts: 19324

sentient yeast infection


WWW
Reply #24 on: June 18, 2007, 03:58:25 PM

Scary and AWESOME.
Pages: [1] Go Up Print 
f13.net  |  f13.net General Forums  |  General Discussion  |  Serious Business  |  Topic: LOLCODE!  
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC