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 Roco

Date:04/24/10
Author:Marinus Oosters
URL:n/a
Comments:0
Info:http://members.gamedev.net/lode/projects/esolangs/roco/roco.txt
Score: (3.67 in 3 votes)
co bottles;
co lyrics;

co nomore {
  cout 78  cout 111
  cout 32  cout 109
  cout 111 cout 114
  cout 101
  yi bottles
}

co bottles {
  eq [1] [0] 0
  neq [2] [0] 0
  if [2] iout [0]
  if [1] yi nomore
  cout 32  cout 98
  cout 111 cout 116
  cout 116 cout 108 
  cout 101
  neq [1] [0] 1
  if [1] cout 115
  yi lyrics
}

co ofbeer {
  cout 32  cout 111
  cout 102 cout 32
  cout 98  cout 101
  cout 101 cout 114
  yi lyrics
}

co onthewall {
  cout 32  cout 111
  cout 110 cout 32
  cout 116 cout 104
  cout 101 cout 32
  cout 119 cout 97
  cout 108 cout 108
  yi lyrics
}

co takeonedown {
  cout 84  cout 97
  cout 107 cout 101
  cout 32  cout 111
  cout 110 cout 101
  cout 32  cout 100
  cout 111 cout 119
  cout 110 cout 32
  cout 97  cout 110
  cout 100 cout 32
  cout 112 cout 97
  cout 115 cout 115 
  cout 32  cout 105
  cout 116 cout 32
  cout 97  cout 114
  cout 111 cout 117
  cout 110 cout 100
  cout 10
  yi lyrics
}

co lyrics {
  yi bottles
  yi ofbeer
  yi onthewall
  cout 10

  yi bottles 
  yi ofbeer 
  cout 10

  yi takeonedown
 
  dec [0]
 
  yi bottles
  yi ofbeer
  yi onthewall
  cout 10
  cout 10
  
  eq [1] [0] 0  
  if [1] yi ro
}

set [0] 99
yi lyrics
ac

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: