close
  • The LOLCODE forum / Proof that LOLCode is turing complete:BrainF*** interpreter in LOLCode

    From the page: "Here's a BF interpreter written entirely in standard LOLCode. Since we don't have any way to convert characters to their ASCII values and vice-versa, output doesn't work as expected, and input doesn't work at all, but it still proves turing completeness! ... more

    Reviewed by insertkwelname Jul 14 2008, 10:54am ( 22 reviews ) lolcode.com

  • Showing 14 of 22
  • Reviews of the site
  • Join StumbleUpon or login to add a review! default avatar
  • Rated by HectorSmarties on Jul 19 2008, 11:16am

    LOLCode turing complete. This has got to be one of the best programming news I've heard in the last year! :D
  • Rated by jtrav on Jul 16 2008, 5:32pm

    wtf? lolcode? are you kidding? and proven to be turing complete? just...speechless.. kthxbai
  • Rated by dancrew32 on Jul 16 2008, 12:01am

    LOLCODE. love it. HAI and KTHXBYE hahaha
  • Rated by insertkwelname on Jul 14 2008, 10:54am

    From the page: "Here's a BF interpreter written entirely in standard LOLCode. Since we don't have any way to convert characters to their ASCII values and vice-versa, output doesn't work as expected, and input doesn't work at all, but it still proves turing completeness! Note that if you're using lolcode.net to compile it, you'll need to update to Revision 19, as it fixes some bugs I came across when writing this! Code: HAI BTW This is a BrainFuck interpreter written in LOLCode BTW It accepts as input a BF program, followed by a "!", followed by any input to the BF program. BTW Since BrainFuck is turing-complete, this proves that LOLCode is too I HAS A INSTRUCTIONS BTW Array for BF instructions I HAS A IPTR BTW Pointer to first empty element in INSTRUCTIONS LOL IPTR R 0 I HAS A LOOPZ BTW Array of loop start/end addresses I HAS A LOOPSTACKZ BTW Loop stack for building the above two I HAS A LSPTR BTW Pointer to first empty element of LOOPSTACKZ LOL LSPTR R 0 BTW Read in BF instructions, terminated with "!" IM IN YR CODE GIMMEH LETTAR IPTR IN MAH INSTRUCTIONS IZ IPTR IN MAH INSTRUCTIONS LIEK "["? LOL LSPTR IN MAH LOOPSTACKZ R IPTR UPZ LSPTR!! KTHX IZ IPTR IN MAH INSTRUCTIONS LIEK "]"? I HAS A STARTPTR NERFZ LSPTR!! LOL STARTPTR R LSPTR IN MAH LOOPSTACKZ LOL STARTPTR IN MAH LOOPZ R IPTR LOL IPTR IN MAH LOOPZ R STARTPTR KTHX IZ IPTR IN MAH INSTRUCTIONS LIEK "!"?"
  • Rated by spiritfox12 on Jul 14 2008, 9:35am

    LOLCode is a perfect example of rule 34. Definitely programmer's porn. Like, some seriously screwed up programmer's porn. Sort of like loli.
  • Reviewed by UnpoeticCircle on Jul 05 2008, 3:27pm

    As geek as it gets !! :O
  • Reviewed by ArtBeirut on Jul 05 2008, 12:58pm

    awesome, kthx.