CAN HAZ LOLPOST?!

Posted by Terry on Fri 27 Nov 2009 04:38 PM — 9 posts, 37,826 views.

USA #0
So, I was thinking about what might happen if an inquisitive and a paranoid were locked in a room together... After much thought, this is the best solution I could come up with:

HAI
CAN HAS FREEKOWT?
CAN HAS QWESTYUNZ?
I HAS A VARIABLE PARUHNOYD IS "FRANKEH"
I HAS A VARIABLE INQWISUTIVE IS "BOBBEH"
IM IN YR LOOP
  I HAS QUESTION IN INQWISUTIVE IZ "HAI! WUTZ YR NAME??"
  VISIBLE GIMMEH QWESTYUN OUTTA INQWISUHTIVE
  MAK PARUHNOYD FREEKOWT
  GIMMEH ALIVE OUTTA INQWISUHTIVE
  IZ ALIVE LEIK RLY?
    YARLY
      VISIBLE "MAH PARUHNOYD SYZ AND HUDDULZ IN MAH CORNER"
      VISIBLE "MAH INQWISUHTIVE FWOWNZ AND PONDURZ THOHTFULLY..."
      CAN CATNAP FOR 10S
    NOWAI
      GTFO
  KTHX
KTHX
VISIBLE "OH WELZ..."
KTHXBAI


Poor Bobby never even learns Frankie's name is Frankie! We shall always mourn Bobby's passing for all eternity. :( *mourn*
Amended on Fri 27 Nov 2009 04:41 PM by Terry
Canada #1
er... what?
USA #2
Lol, I'm bored. =P (It's LOLcode, btw. Some cracked up "language" that was made as a joke, and somehow managed to catch. :P http://www.lolcode.com/)
USA #3
So what are FREEKOWT and QWESTYUNZ? I'm assuming they're not standard libraries, so what do they contain?

Otherwise, that's hilarious. :D For the less LOL-inclined, here's a pseudo-port (pseudo because I'm not a LOLCODE guru) to C:


void freakout(char* str, int* alive)
{
   // ...?
}

int main()
{
  char* paranoid = "Frankie";
  
  char* inquisitive = "Bobby";
  int alive = 1;
  
  while (1)
  {
    printf("Hi! What's your name?\n");
    freakout(paranoid, &alive);
    
    if (alive)
    {
      printf("Frankie sits and huddles in the corner.\n");
      printf("Bobby frowns and ponders thoughtfully...\n\n");
      // Do something to pause for 10 seconds.
    }
    else
      break;
  }
  printf("Oh well.");
  
  return 42;
}
Amended on Fri 27 Nov 2009 06:05 PM by Twisol
Canada #4
Ohh, ok. Found the same thing over at Mudbytes after this then it made sense. Well, sense in terms of what it was (cause the code doesn't make sense :P)

break = gtfo <--- only funny part :)
Amended on Fri 27 Nov 2009 06:03 PM by Hanaisse
USA #5
*laughs* Yeah.

I'm curious which dialect/implementation of LOLCODE was used here, actually.
USA #6
I'm not a LOLcode guru either, hehe. I just got bored, saw the post on Mudbytes, and decided to post here. As for the dialect, it's yours truly's. I really don't know LOLcode for the life of me...
As for what those libraries are, what's basically happening is, the inquisitive is harrassing the paranoid, and the paranoid then freaks out, goes berserk, and lashes out at the inquisitive. Eventually, our poor curious Bobby is slain. Alas... He shall truly be mourned. :(
USA #7
So that was really pseudo-LOLCODE, then. Hahah, nice. :)

I figured that's what was happening, but I was curious what was actually in the libraries at a technical level. ;)
USA #8
Technically Lolcode is a real, proper language, and you can (in principle, at least) write real programs in it with enough libraries. But indeed I don't think that snippet would actually function as described given that there is no state changing event to make one of the two "actors" no longer "alive" -- since we're told that they're not in fact standard libraries or anything like that. (In fact, they're assigned to strings.)