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 ORK

Date:05/17/05
Author:Rune Berge
URL:n/a
Comments:5
Info:http://rune.krokodille.com/lang/
Score: (3.47 in 77 votes)
# 99 Bottles of Beer in ORK (http://eso.codu.org/)
# by Rune Berge

There is such a thing as a song.
A song has a verse count which is a number.

There is such a thing as a singer.
A singer can sing a song.

When a singer is to sing a song
There is a mathematician called Bob the Big Brain.
There is a scribe called Voice.
There is a word called Plural Bottles.
Plural Bottles is "s".
Bob the Big Brain's first operand is the song's verse count.
Bob the Big Brain's second operand is 1.
Bob the Big Brain is to compare.
If Bob the Big Brain says it's equal then Plural Bottles is "".
Voice is to write the song's verse count.
Voice is to write " bottle".
Voice is to write Plural Bottles.
Voice is to write " of beer on the wall,\n".
Voice is to write the song's verse count.
Voice is to write " bottle".
Voice is to write Plural Bottles.
Voice is to write " of beer.\n".
Voice is to write "Take one down and pass it around,\n".
Bob the Big Brain's first operand is the song's verse count.
Bob the Big Brain's second operand is 1.
Bob the Big Brain is to subtract.
The song's verse count is Bob the Big Brain's result.
Plural Bottles is "s".
Bob the Big Brain's first operand is the song's verse count.
Bob the Big Brain's second operand is 1.
Bob the Big Brain is to compare.
If Bob the Big Brain says it's equal then Plural Bottles is "".
Voice is to write the song's verse count.
Voice is to write " bottle".
Voice is to write Plural Bottles.
Voice is to write " of beer on the wall.\n\n".
Bob the Big Brain's first operand is the song's verse count.
Bob the Big Brain's second operand is 0.
Bob the Big Brain is to compare.
If Bob the Big Brain says it's greater then I am to loop.

When this program starts:
There is a singer called Bob the Beer Belcher.
There is a song called Ninety Nine Bottles of Beer.
Ninety Nine Bottles of Beer's verse count is 99.
Bob the Beer Belcher is to sing Ninety Nine Bottles of Beer.

Download Source | Write Comment

Alternative Versions

Comments

>>  diogoko said on 01/10/06 21:20:59

diogoko "Bob the Beer Belcher is to sing Ninety Nine Bottles of Beer."

Now that was beautiful. Really.

>>  gmrgl said on 02/20/06 12:43:22

gmrgl i love this language! =)

>>  Steve Hammond said on 06/22/06 10:20:30

Steve Hammond My life now feels complete. Nice one Rune

>>  Chris Norris said on 11/16/09 15:15:42

Chris Norris I just love this language, so poetic. good job!

>>  00Davo said on 11/25/09 08:35:46

00Davo Now, if you only needed to write these lines:

There is a singer called Bob the Beer Belcher.
There is a song called Ninety Nine Bottles of Beer.
Bob the Beer Belcher is to sing Ninety Nine Bottles of Beer.

Then ORK could be a useful language. As is, it's insane.

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: