Putting SpiderMonkey in Your Shell

Martin Dittus · 2007-02-11 · tools · write a comment

Was browsing the Mozilla developer docs, curious about their documentation on JavaScript language updates over the different Firefox versions (JS is getting more and more Ruby-like). Realized that I need to brush up on my JS knowledge, maybe finally time to get that O'Reilly book.

Found an "Introduction to the JavaScript shell" (they have a JS shell?!?), and this:

cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot login
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -l \
	mozilla/js/src mozilla/js/src/config mozilla/js/src/editline mozilla/js/src/fdlibm
cd mozilla/js/src
make -f Makefile.ref

Compiled it, ran it. print works. Cool!

Now I just need to figure out what to do with it.


Next article:

Previous article:

Recent articles:

Comments

Comments are closed. You can contact me instead.