DECAF

A little break from JavaScript

Decaf is a modification of WebKit that runs Ruby in the browser. Use Ruby to access the DOM, work with the web standards, and even print to the inspector. Now, you can build an entire web application in Ruby instead of JavaScript.


window.onload do
  p = document.create_element('p')
  p.inner_text = 'Hello, world.'
  document.body.append_child(p)
end