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 LOCK

Date:05/22/10
Author:Marinus Oosters
URL:n/a
Comments:0
Info:http://esolangs.org/wiki/LOCK
Score: (3.25 in 4 votes)
{main
  #1
  =one
  #2
  =two
  #99
  =bottles
  <main
  >sing
  >lastverses
}

{sing
  $bottles
  \ bottles of beer on the wall\n
  $bottles
  \ bottles of beer\n
  Take one down and pass it around\n
  ^bottles
  -one
  =bottles
  $bottles
  \ bottles of beer on the wall\n\n
  -two
  <sing
  ?sing
}
      
{lastverses
  2 bottles of beer on the wall\n
  2 bottles of beer\n
  Take one down and pass it around\n
  1 bottle of beer on the wall\n
  \n
  1 bottle of beer on the wall\n
  1 bottle of beer\n
  Take one down and pass it around\n
  No more bottles of beer on the wall\n
  \n
  Go to the store and buy some more\n
  99 bottles of beer on the wall\n
  \n
  <lastverses
}

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: