jake

Why not use object literals to create beautiful DSL in Javascript?

Coming from Ruby to Javascript, creating DSL now seems not as fun as in Ruby where it was very beautiful and elegant. Ruby Rake: task :hello do # do stuff end task :hello => [:dep1, :dep2] do # do stuff end Javascript Jake: task("hello", function() { // do stuff }); task("hello", ["deep1", "deep2"], function() { // do ...

Jake on Node.js?

From what I have understood Jake (Rake equivalent for Javascript) is based on Rhino. Does this mean that I cannot use it with Node.js? ...