<script type="text/coffeescript">
jashkenas.github.com
jashkenas.github.com
http://jashkenas.github.com/coffee-script/#scripts
The salient point is that CoffeeScript now automatically compiles any code in a script tag with type text/coffeescript. Pretty cool.
If you view source, you'll see something along these lines:
<script type="text/coffeescript">
window.repl_run: ->
try
eval window.compiled_js
catch error then alert error
close_menus: ->
current_nav.removeClass 'active' if current_nav
current_nav: null
$(document.body).click -> close_menus()
</script>I did something like this for Objective-J awhile back, but it's not particularly useful (http://github.com/tlrobinson/cappuccino-experiments/blob/mas...)
But if you just want to play with it, or prototype a web page, it's fun for that.