Hacker News new | comments | show | ask | jobs | submit login

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?

Well, 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/ ), or the implementations that Mozilla has built over the years (https://developer.mozilla.org/en/SpiderMonkey and 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/Ecm...

knowtheory was right, follow the MDN SpiderMonkey links to http://hg.mozilla.org/mozilla-central/js/src -- beware that http://hg.mozilla.org/tracemonkey is an inactive repo.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact