开发工具 decaf - runs Ruby in the browser

kenshin54 · 2013年04月09日 · 最后由 chenge 回复于 2013年04月12日 · 2968 次阅读

http://trydecaf.org/

Decaf is a modification of WebKit that runs Ruby in the browser. You can access the DOM, use the inspector, and do most other things that JavaScript can do.

一个支持 ruby 的引擎,谁会用它来做一个浏览器?还是可以作为插件什么的嵌入现有的浏览器?

不错啊,桌面应用可以用上

撸了一管,一看标题像灌水,打开一看,屌爆了!

像是 CoffeeScript 那个 JS 一样

下载一个试试看。是不是 Ruby 要进军浏览器了。

Ruby as a JavaScript Alternative

There have been several attempts to use Ruby in the browser, but none of them have connected it to the DOM. In Decaf, the Ruby DOM API is created at the same level as JavaScript. As a result, Ruby can be used as a complete solution. Theoretically, any application we can make in JavaScript can now be made in Ruby.

进了那个例子,没看懂。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号