Hey, does anyone know anything about ruby-spidermonkey?
I just found it, and while the google site[1] has nothing but code,
there seems to be more in Japanese [2].
I'm not clever enough to figure out how to get it working with SpiderMonkey
--http://code.google.com/p/ruby-spidermonkey/
http://rubyist.g.hatena.ne...
Here is the machine-translated README.
http://translate.google.com/translate?hl=en&sl=ja&u=http://ruby-spide...
Ps. "The server-side JavaScript can be used as the color of happiness"
<- yes!
I just pulled the source from SVN, ran the following...
$ sed -i -e 's/smjs/js/g' *.c *.rb
$ ruby extconf.rb
checking for xulrunner-js... no
checking for thunderbird-js... no
checking for mozilla-js... no
checking for main() in -ljs... yes
creating Makefile
$ ruby test.rb
"JavaScript-C 1.6 2006-11-19"
Loaded suite test
Started
..............................."no WikiParser. test through"
.
Finished in 1.752299 seconds.
32 tests, 117 assertions, 0 failures, 0 errors
HTH,
Jordan