[LOLCODE]My first attempt

Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Super Mexican Joser is offline
    MemberRank
    Jun 2008 Join Date
    Your mom's roomLocation
    1,656Posts

    Re: [LOLCODE]My first attempt

    Well looks like none of you saw the point.
    Only reason I posted this was to show the LOLCODE language.
    It wasn't supposed to be a super awesomy duper code liek you guys post. /sarcasm

    I even said
    Just very random and no point what so ever.

  2. #17
    Apprentice matt187 is offline
    MemberRank
    Dec 2008 Join Date
    14Posts

    Re: [LOLCODE]My first attempt

    They don't even have a compiler or anything, it's just an idea.

  3. #18
    Chasing 99 Red Balloons Jordan is offline
    MemberRank
    Jan 2008 Join Date
    UKLocation
    1,763Posts

    Re: [LOLCODE]My first attempt

    Quote Originally Posted by matt187 View Post
    They don't even have a compiler or anything, it's just an idea.
    Actuallylolcode does have a compiler (Sort of) it just runs it in a c++ shell so it can be interprete by the C++ compiler
    KTHNXBAI

  4. #19
    Banned StealthyXor is offline
    BannedRank
    May 2008 Join Date
    the internetLocation
    480Posts

    Re: [LOLCODE]My first attempt

    Quote Originally Posted by Mr.Lucifer View Post
    stdio.h = standard input/output header

    It's a header in the C standard library. Very much used, for things such as hello world programs.

    "I can has STDIO" translates to "#include STDIO".
    Gosh, you people are smart.


  5. #20
    Account Upgraded | Title Enabled! Intelext is offline
    MemberRank
    Mar 2007 Join Date
    EuropeLocation
    1,228Posts

    Re: [LOLCODE]My first attempt

    lol made me smile

  6. #21
    Account Upgraded | Title Enabled! Cask is offline
    MemberRank
    Jul 2007 Join Date
    887Posts

    Re: [LOLCODE]My first attempt

    Quote Originally Posted by matt187 View Post
    They don't even have a compiler or anything, it's just an idea.
    http://lolcode.com/implementations/implementations

    Checkmate.

  7. #22
    :-) s-p-n is offline
    DeveloperRank
    Jun 2007 Join Date
    Next DoorLocation
    2,098Posts

    Re: [LOLCODE]My first attempt

    So it's just a big object oriented programming experiment..? Well pretty much..
    It's cool but pointless; as explained.. made me laugh tho

    LOLPython
    PHP Code:
    IN MAI datetime GIMME date LIKE DATE

    SO IM LIKE FIBBING WIT N OK
    ?
        
    LOL ITERATE FIBONACCI TERMS LESS THAN N /LOL
        SO GOOD N BIG LIKE EASTERBUNNY
        BTW
    FIBONACCI LIKE BUNNIESLOL
        U BORROW CHEEZBURGER
        U BORROW CHEEZBURGER
        I CAN HAZ CHEEZBURGER
        HE CAN HAZ CHEEZBURGER
        
    WHILE I CUTE?
            
    AND HE CAN HAZ HE AND I ALONG WITH HE
            IZ HE BIG LIKE N
    ?
                
    KTHXBYE
            U BORROW HE

    IZ __name__ KINDA LIKE 
    "__main__"?
        
    COMPLAIN "NOW IZ" AND DATE OWN today THING
        IZ BIGNESS ARGZ OK KINDA LIKE 1
    ?
            
    N CAN HAS 100
        NOPE
    ?
            
    N CAN HAS NUMBR ARGZ LOOK AT 1!!
        
    GIMME EACH I IN UR FIBBING WIT N OK?
            
    VISIBLE I 
    The above translates in Python, to:
    PHP Code:
    # LOLPython to Python converter version 1.0
    # Written by Andrew Dalke, who should have been working on better things.

    # sys is used for COMPLAIN and ARGZ
    import sys as _lol_sys

    from datetime import date 
    as DATE 

    def FIBBING 
    ) :
        
    'ITERATE FIBONACCI TERMS LESS THAN N' 
        
    assert N >= 
        
    # BTW, FIBONACCI LIKE BUNNIES! LOL
        
    yield 
        
    yield 
        I 

        HE 

        
    while 1:
            
    HE HE HE 
            
    if HE >= :
                break 
            yield 
    HE 

    if __name__ == '__main__' :
        print >>
    _lol_sys.stderr'NOW IZ' DATE today ()
        if 
    len(_lol_sys.argv) == :
            
    100 
        
    else :
            
    int(_lol_sys.argv]) 
        for 
    I in FIBBING ) :
            print 


    # The end. 
    This is the example that kinda helped me understand
    Thanks Cask for the link lol
    Last edited by s-p-n; 16-01-09 at 02:38 AM. Reason: KTHNXBAI



Page 2 of 2 FirstFirst 12

Advertisement