Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language Limbo

Date:04/20/05
Author:Anonymous
URL:n/a
Comments:2
Info:n/a
Score: (2.58 in 19 votes)
Limbo is compiler for Lucent Technologies new Inferno Operating System.

implement BeerBottles;

include "sys.m";
	sys: Sys;
include "draw.m";
	draw: Draw;

BeerBottles: module
{
	init: fn(ctxt: ref Draw->Context, agv: list of string);
};

init(ctxt: ref Draw->Context, argv: list of string)
{
	sys = load Sys Sys->PATH;
	for (int bottles = 99; bottles > 0; bottles--) {
		sys->print("%d bottle(s) of beer on the wall,\n",bottles);
		sys->print("%d bottle(s) of beer.\n",bottles);
		sys->print("Take one down, pass it around,\n");
		sys->print("%d bottle(s) of beer on the wall.\n\n");
	}
}

Download Source | Write Comment

Alternative Versions

VersionAuthorDateCommentsRate
concurrent versionrog peppe10/17/080

Comments

>>  david aiello said on 11/30/06 05:13:56

david aiello Sweet

>>  xiaoxiao208 said on 09/13/10 07:52:18

xiaoxiao208 bestuggbots.net is the best ugg boots on sale store and ugg boots uk with 100% sheepskin and low price,you can buy ugg for free shipping and no sale tax include UGG Ultra Tall UGG Classic Mini UGG Classic Tall UGG Classic Cardy UGG Bailey Button UGG Bailey Button Triplet
bestuggbots.net is the best ugg boots on sale store and ugg boots uk with 100% sheepskin and low price,you can buy ugg for free shipping and no sale tax include UGG Ultra Tall UGG Classic Mini UGG Classic Tall UGG Classic Cardy UGG Bailey Button UGG Bailey Button Triplet
uggmall-uk.com provide cheap uggs and ugg boots uk, you can find ugg classic boot with High quality and competitive price include UGG bailey button, UGG classic argyle knit, UGG stripe cable knit, UGG classic tall boots, UGG classic cardy boots, UGG classic short boots, UGG ultra tall boots 5245, UGG classic mini boots, UGG Metallic Gold Classic . [PRE][/PRE]

bestuggmall.com provide ugg boots sale and Ugg boots shop, you can find Ugg 5815|5825|5803 with High quality and competitive price include ugg classic argyle knit boot ,ugg tall stripe cable knit ,UGG Bailey Button ,UGG classic tall boots ,UGG classic Cardy ,UGG Classic Short boots ,ugg ultra tall boots ,classic mini ugg boots
Bestuggboots provides cheap ugg boots with good quality for Women’s ugg You can find all kind of ugg boots on bestuggboots,such as ugg 5825,ugg 5803 and 5815, ugg pink is a cute color for girls who like ugg classic tall boots.ugg classic tall boot 5815, ugg classic short boot 5825, ugg classic cardy boot, ugg classic mini boot, ugg argyle knit boots ,ugg ultre tall boot
Cheapuggbootonline is a ugg discount shop that you can get best cheap ugg boots.On this ugg boots shop you can find all kind of ugg boots sale,like Ugg 5815,ugg 5803 and ugg 5825,etc.ugg bailey button 5803, ugg classic tall 5815,ugg classic cardy boot,ugg classic short 5825,ugg ultre short boots,ugg ultre tall boots,ugg classic mini boot.
cheapuggbootsonsale.comprovide Ugg boots sale sale and Cheap ugg boots, you can find UGG Classic Boots with High quality and competitive price include UGG Classic Boots,UGG Classic Boots,Ugg Bailey Button,UGG NEW ARRIVAL,UGG Classic Tall,UGG Classic Cardy ,UGG Classic Short,UGG Ultra Short,UGG Ultra Tall,UGG Sundance,UGG Classic Mini,UGG Nightfall,UGG Handbags,UGG New Tall,Ugg New Sandals,UGG Sandals,UGG Slippers.

Download Source | Write Comment

Add Comment

Please provide a value for the fields Name, Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.

Please don't post large portions of code here! Use the form to submit new examples or updates instead!

Name:

eMail:

URL:

Security Code:
  
Comment: