3 ms·
Weird question, can one download the 'source' to JavaScript, compile and therefore built on top of it? I guess I have never thought about it, it is free, is it
by jason_slack 15y ago
Weird question, can one download the 'source' to JavaScript, compile and therefore built on top of it? I guess I have never thought about it, it is free, is it open too?
- ZitchDog 15y agov8: http://code.google.com/p/v8/ http://code.google.com/p/v8/ TraceMonkey: http://hg.mozilla.org/tracemonkey http://hg.mozilla.org/tracemonkey rhino: http://www.mozilla.org/rhino/ http://www.mozilla.org/rhino/ IE: n/a
- BrendanEich 15y agoknowtheory was right, follow the MDN SpiderMonkey links to http://hg.mozilla.org/mozilla-central/js/src http://hg.mozilla.org/mozilla-central/js/src -- beware that http://hg.mozilla.org/tracemonkey http://hg.mozilla.org/tracemonkey is an inactive repo.
- knowtheory 15y agoWell, there are a lot of different implementations of Javascript. You can absolutely download the source to Google's v8 javascript engine (http://code.google.com/p/v8/ http://code.google.com/p/v8/ ), or the implementations that Mozilla has built over the years (https://developer.mozilla.org/en/SpiderMonkey https://developer.mozilla.org/en/SpiderMonkey and http://www.mozilla.org/rhino/ http://www.mozilla.org/rhino/ ). EDIT: Yeah check the comment below regarding tracemonkey rather than spidermonkey. It should also be noted that Javascript is a specification first and foremost (unlike Ruby which is defined primarily by its reference implementation). It's worth reading through the standard: http://www.ecma-international.org/publications/standards/Ecma-262.htm http://www.ecma-international.org/publications/standards/Ecm...