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 Kipple

Date:05/17/05
Author:Rune Berge
URL:n/a
Comments:1
Info:http://rune.krokodille.com/lang/
Score: (2.83 in 115 votes)
############################################
# 99 Bottles of Beer in Kipple             #
# By Rune Berge, September 2003            #
# Kipple home page:                        #
# http://rune.krokodille.com/lang/kipple/  #
############################################
 
99>n 
(n-1 
  10>o " of beer on the wall">o b-1 b>a? (a "s">o 0>a?) " bottle">o b+0 b>@ (@>o)
  10>o "Take one down and pass it around">o b+1 
  10>o " of beer">o             b-1 b>a? (a "s">o 0>a?) " bottle">o b+0 b>@ (@>o)
  10>o " of beer on the wall">o b-1 b>a? (a "s">o 0>a?) " bottle">o b+0 b>@ (@>o)
  10>o n?
)

Download Source | Write Comment

Alternative Versions

Comments

>>  Rune Berge said on 05/18/05 22:59:59

Rune Berge Note that this implementation cheats a bit by using the preprocessor to do the strings. But it makes much nicer code...

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: