Seed Media Group

Greg Laden's Blog

Evolution, Life Sciences, Science Education, Human Evolution, and Stuff

Profile

greg.jpg

Welcome to Greg Laden's Blog.

Recent Comments

Search this blog

Recent Posts

image


tbbadge.gif

MNCSE.jpg

support_plos_100x157.jpg

150udojseal.jpg Venimus, Vidimus, Venimus

Project Exploration



Nature Blog Network

Greg Hussein Laden's Facebook profile

openlab08-submit.150.png
open_access_day_blog_award.jpg

Blogroll

Join the best atheist themed blogroll!

Archives

« Anti-Gay Initiative in Arkansas Failing | Main | Give Chuck Money »

U CAN HAZ UR LOLCODE

Category: LOLTechnology
Posted on: July 7, 2008 11:21 AM, by Greg Laden

image.jpgThanks to Evan I am now aware of LOLcode. I knew there was a proposal, but I had no idea how much it had advanced. LOLcode is being developed in a series of projects that I would divide into two categories: Bleeders and sneakers.

Bleeders are implementations in a particular interpreted language (so far all LOLcode implementations are interpreted) whereby the syntax or other important aspects of the interpreter 'bleed through' to the LOLcode implementation. The bloodies of the bleeders are simple translators, while others strive for more. Sneakers are implementations where the LOLcode is pure, even though the underlying structure is not a C (or machine language) based engine.

Interestingly, there are more Python based LOLcode versions than, say, perl. I find this odd because while Python has certain features that are clearly aligned with LOLese (such as namespaces and the "try" token) perl is inherently more LOLesque. Perhaps perl programmers already feel LOLenough to not bother.

Here are some examples of LOLcode bleeder implementation in different languages:

for the shell:

#!/bin/bash the mouzee

iherz u "Hai I'm in ur werld"

kthnxbye (0)


python:

#!/usr/bin/paithon

BTW I'M IN UR COMMENT
BTW ENDLESS LUP XMPLE

for ai in range (jesnow, ferevah):
caniseez "hai werld"


basic:

100 BTW use line numberz
110 I can haz input? "type your name, human" A$;
120 if be A$ iz nothin GO2 110
130 print "OH, HAI "; A$
140 kthnxbye


For more information on LOLcode go here.


Post a Comment

(Email is required for authentication purposes only. Comments are moderated for spam, your comment may not appear immediately. Thanks for waiting.)





Having problems commenting? (UPDATED)

Blogs in the Network

Advertisement

Top Five: Readers' Picks

Search All Blogs