Here's something for the hungry mob to tear apart: automatic Ruby toJavaScript conversion. It seems somehow wrong, like grafting a prettygirl's head onto a donkey, but I've done it anyway!
It converts Ruby code like this:
---
class Demo
  def initialize    @clicks = 0    3.times{ self.puts('Hello! I am a Ruby script!') }  end
  def puts(str)    document.getElementById('debug')['innerHTML'] =      document.getElementById('debug')['innerHTML'] + str + "\n"  end
  def clicked    @clicks += 1    self.puts("Click number " + @clicks.to_s)  end
end
---
into JavaScript code like this:
---
function Demo(){  self=this;  self.instanceVariables={};  self.instanceVariables['@clicks']=Number(0);  Number(3).times(function(){    self.puts("Hello! I am a Ruby script!")  })}Demo.prototype = {  puts: function(str){    self=this;    document.getElementById("debug")["innerHTML"]=document.getElementById("debug")["innerHTML"]+str+"\n"  },  clicked: function(){    self=this;    self.instanceVariables['@clicks']=self.instanceVariables['@clicks']+Number(1);    self.puts("Click number "+self.instanceVariables['@clicks'].toString())  }}
---
It uses Ryan Davis et al's ParseTree and Florian Gro's ruby.js formost of the hard work. It's still very limited, and there are manywarts, not least of which is the requirement for an explicit receiveron every method.
That said, the code's here: http://po-ru.com/files/ruby2js.tar.gz
Have fun!Paul.