I HAS 1337 CODE!!1!ONEDisclaimerOriginsHistoryLOLspeak 101To make a LolcatThemes for a LolcatSlide 8Slide 9Slide 10Slide 11Slide 12Slide 13Slide 14Slide 15Slide 16Slide 17LolcodeHai World?Moar EcsamplesAnd Moar?!1KeywardsOperatorsI has moarWher dis iz going?HOAM WERKS?!ReffrancesI HAS 1337 CODE!!1!ONEIntroduction to LOLcodeDisclaimerONLY EXISTS IN THEORY!DuhBUT! There are several attemps at making compilers for the language. sjl7678's interpreter is based on Lex/Yacc-style Python libraries.ploximeth's compiler is actually a Perl-based interpreterTetraboy's implementation is a nifty PHP processor.Brian Egge has started a project to create a parser and interpreter for the Java runtime.OriginsLOL-speak originated from websites like:http://icanhascheezburger.com/http://lolgeeks.com/Website for learning LOLspeak.http://speaklolspeak.com/HistoryFirst Lolcats attributed to anonymous image board 4chan around 2005Lolcats.com was registered on June 14, 2006The first image on "I CAN HAS CHEEZBURGER?" was posted on January 11, 2007 which was allegedly from the Something Awful website.The News Journal states that "some trace the lolcats back to the site 4chan, which features bizarre cat pictures on Saturdays, or 'Caturdays'."Lev Grossman of Time wrote that the oldest known example of ‘caturday’ "probably dates to 2006”, but later corrected himself in a blog post - caturday.com was registered on April 30, 2005LOLspeak 101It is not just the using of poor grammar and misspelling everything. There are definitive rules. Misspellings are consistent, and the pattern for grammar has an almost rhythmic pattern to it.To make a LolcatPhoto of a catLarge, white, usually all caps, sans-serif fontCaption acts as a speech bubble, or description of the image.strangely-conjugated verbs, but a tendency to converge to a new set of rules in spelling and grammarType of talk is known as pidgin talk, and frequiently are “snowclones” where nouns and verbs are replaces in a phraseThemes for a Lolcat“Im in ur noun, verb-ing ur related noun.“"I has a noun“"Invisible noun“"[noun] haz a flavor.“"[adjective] cat is [adjective]", "[adjective] cat is not [adjective]" or "Your offering pleases [adjective] cat."LolcodeUses this “slang” to write codeUsually, if you understand the slang, even if you have no programming knowledge, you can figure out what's going on.Hai World?HAI CAN HAS STDIO? VISIBLE "HAI WORLD!" KTHXBYEMoar EcsamplesHAI CAN HAS STDIO? I HAS A VAR IM IN YR LOOP UPZ VAR!!1 VISIBLE VAR IZ VAR BIGR THAN 10? GTFO. KTHX KTHX KTHXBYEAnd Moar?!1HAI CAN HAS STDIO? PLZ OPEN FILE "LOLCATS.TXT"? AWSUM THX VISIBLE FILE O NOES INVISIBLE "ERROR!" KTHXBYEKeywardsbtw – BTW <comment> - rest of the line is a commentbyes - BYES [<code> [<string>]] – exit with specified code, outputting stringcan-has - CAN HAS <file/module>? - Includes the file or loads the module, and dies on error.diaf - DIAF [<code> [<string>]] – exit with specified code, outputting stringgimmeh - GIMMEH [(LINE|WORD|LETTAR)] <VAR> [OUTTA <filedesc>] - This inputs a line, word, or character from the specified file descriptorgtfo - This breaks out of the innermost loop.hai - Opens the program.i-has-a - I HAS A <var> - declares a variableim-in-yr - IM IN YR [<loop label>] – begins a loop. The label name really makes no differencein-mah - [<key> IN MAH]* <var> - a IN MAH b IN MAH var = var[b][a]Iz - IZ <cond>[?] [YARLY] <statements> [NOWAI <statements>] KTHXkthx - KTHX is the closing “bookend” for any block except the hai block.kthxbye - Closes hai block only.lol-r - LOL <l-value> R <expression> - assigns value to array locationvisible - VISIBLE <expression>[!] – prints out expression to std output.OperatorsBIGR THAN (>) -> NOT BIGR THANSMALR THAN (<) -> NOT SMALR THANLIEK ( == ) -> NOT LIKEBTW LOLCODE : // Standard a UP b : a + b UPZ a!![b] : a += b (b=1) a NERF b : a - b NERFZ a!![b] : a -= b (b=1) a TIEMZ b : a * b TIEMZD a!![b] : a *= b (b=1) a OVAR b : a / b OVARZ a!![b] : a /= b (b=1)I has moarHAI CAN HAS STDIO? I HAS A VAR GIMMEH VAR IZ VAR BIGGER THAN 10? YARLY BTW this is true VISIBLE "BIG NUMBER!" NOWAI BTW this is false VISIBLE "LITTLE NUMBER!" KTHX KTHXBYEWher dis iz going?Support for the Parrot VM using the Parrot Compiler ToolkitFeatured in Microsoft developer training seminars, TechEd 2007 Conference (Australia).PL/LOLCODE, a project headed by Josh Tolley, makes LOLCODE available as a server-side programming language inside PostgreSQL.Channel 9: Deep DLR, Microsoft Dynamic Language Runtime has an implementation of LOLCODE for testing purposes.HOAM WERKS?!Explain what each line of the hello world example is doing in terms of a normal programming
View Full Document