| | #1 (permalink) |
| Press "X" to Admire Hat. Join Date: Jan 2007 Location: [I am a spambot, selecting the default option - ban me!]
Posts: 3,281
Blog Entries: 3 | And one more for you code...CATZ. Can anyone tell me what this does: Code: HAI CAN HAS STDIO? VISIBLE "HAI WURLD!" KTHXBYE Code: BOTH SAEM ANIMAL AN "CAT"
O RLY?
YA RLY, VISIBLE "J00 HAV A CAT"
MEBBE BOTH SAEM ANIMAL AN "MAUS"
VISIBLE "NOM NOM NOM. I EATED IT."
OIC Exhibit A is (boviously) "Hello World!" in this different language, and Exhibit B is an example of an IF conditional (O RLY? YA RLY, NO WAI, MEBBE, OIC == if, true, false, elseif, endif. The language is LOLCODE - a higher level language based extremely loosely on C/C++, written in LOL, and in ALL CAPS (apart from variables... though they can be a mixture of any case), because CAPS LOCK IS CRUISE CONTROL FOR COOL. http://lolcode.com/specs/1.2 LOLCODE, which is obviously inspired by the LOLCAT meme, has been around for a couple of years, and is currently in the finalisation stages of v1.3 (has been for a couple of years, actually - the forum is still seeing lots of discussions about various things to implement, like variable scopes using I and ME, arrays with BUKKITS, and various different thises and thats). It just goes to show that you can turn anything into a workable programming language (part of my course next year involves creating my own compilers! I can't wait. )! I'm half-tempted to try and define various data structures in LOLCODE when I've got some spare time (I've been spending the last few days building lists and trees in Java because I realised that, for a CS student, I had a terrifying lack of code examples! Time to build up my library of code, methinks!). |
| | |
| | #2 (permalink) | |
| www.sjswebdesign.co.uk | Re: And one more for you code...CATZ. Quote:
OMG, absolutely brilliant! I never knew this existed. I wonder if anyone's made an Actionscript version? I wish Adobe would. | |
| | |
| | #4 (permalink) |
| www.sjswebdesign.co.uk | Re: And one more for you code...CATZ. Cookies or cat biscuits? Mmmmmm.... cat biscuits. Not as nice as white chocolate hamster drops, though..... Hello, Ursa! 'Tis wonderful to see you again. When you go away for a while, you realise who are the most missable. You're one of them, as are a fair few of you. This place is too nice! |
| | |
| | #5 (permalink) |
| Press "X" to Admire Hat. Join Date: Jan 2007 Location: [I am a spambot, selecting the default option - ban me!]
Posts: 3,281
Blog Entries: 3 | Re: And one more for you code...CATZ. As a follow up (though I'm a few months late to the party), lolSQL: Code: HAI! I'M IN UR `table` SELECTIN UR `column` AZ `label` I CAN HAZ `column` LIEK `value` GIMMEH 5 MAKES ORDER `column` GOAS DOWN KTHNXBYE Code: HAI! OH NOES I HAZ LOST `table` KTHNXBYE Code: HAI! I IZ MAKIN U `table` KTHNXBYE Exhibit B is DROP table, and Exhibit C is CREATE table. I can haz lolSQL? – Aaron Bassett We did parsers quite recently - if I get time over Christmas, I might try my hand at it. |
| | |
![]() |
| Thread Tools | |
| Rate This Thread | |
| |