Voting

Category

esoteric language

Bookmarking

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

Language Dévà Vu

Date:02/17/12
Author:Robin Wellner
URL:n/a
Comments:0
Info:https://github.com/gvx/deja
Score: (3.50 in 2 votes)
plural i:
	if = 1 i "" "s"

bottles i:
	local 's' plural i
	.( i " bottle"s" of beer on the wall, " i " bottle"s" of beer," )
	.\ "You take one down, pass it around, "
	set 'i' - i 1
	if i:
		set 's' plural i
		.( i " bottle"s" of beer on the wall." )
		bottles i
	else:
		. "no more bottles of beer on the wall, no more bottles of beer."
		. "Go to the store and buy some more, 99 bottles of beer on the wall."

bottles 99

Download Source | Write Comment

Alternative Versions

Comments

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: