3 ms·
The original Javascript impl was written in Lisp
- thurn 15y agoHow does this link demonstrate that fact?
- barumrho 15y agoFile extensions and timestamps? Not sure about 'original' though.
- agumonkey 15y agojs2 as in 'js2 the abandonned branch ES4' ? I love the author's nickname : Captain Abstraction http://www.webmasterkb.com/Uwe/Forum.aspx/javascript/35764/For-all-those-jQuery-fanboys http://www.webmasterkb.com/Uwe/Forum.aspx/javascript/35764/F...
- DiabloD3 15y agoI actually might be wrong about this being the original. Waldemar Horwat worked with Brenden Eich at Netscape and hacked on the JS impl in Netscape 2.0, but the dates are too late. If its not the original, what is it?
- tszming 15y agohttp://en.wikipedia.org/wiki/SpiderMonkey_(JavaScript_engine) http://en.wikipedia.org/wiki/SpiderMonkey_(JavaScript_engine... >>> Eich "wrote JavaScript in ten days" in 1995,[1] having been "recruited to Netscape with the promise of “doing Scheme” in the browser".[2] (The idea of using Scheme itself was abandoned when "engineering management [decided] that the language must ‘look like Java’".[2]) In fall 1996, Eich, needing to "pay off [the] substantial technical debt" left from the first year, "stayed home for two weeks to rewrite Mocha as the codebase that became known as SpiderMonkey".[1]
- plam 15y agosigh... the developer wanted to use Lisp, then management opted for Java. Typical.
- acqq 15y agoYou linked obviously the much later code than what can be anything relevant for the first Javascript implementation in Netscape in nineties. If I understand it correctly, this is the experimental code that was supposed to be used in the research for a "big leap" in Javascript syntax considered by Mozilla around the middle of the previous decade. The keyword to search for can be Epimetheus, it appears in the sources you linked: http://www-archive.mozilla.org/js/language/Epimetheus.html http://www-archive.mozilla.org/js/language/Epimetheus.html http://discerning.com/burstproject.org/build/doc/constructs.html http://discerning.com/burstproject.org/build/doc/constructs.... 'Mozilla's implementation ("JavaScript 2.0", or "Epimetheus"): http://www.mozilla.org/js/language/Epimetheus.html http://www.mozilla.org/js/language/Epimetheus.html http://www.mozilla.org/js/language/js20/ http://www.mozilla.org/js/language/js20/ It (of course) has all features of Draft ECMAScript 4, and a few additions. It is not (to our knowledge) shipping in any product.'
- pwpwp 15y agoIf I understand it correctly, this is the experimental code that was supposed to be used in the research for a "big leap" in Javascript syntax considered by Mozilla around the middle of the previous decade. Yes, that's how I remember it too.
- tree_of_item 15y agoWhat a horrible irony this would be if true: Lisp used to enslave generations of programmers with JavaScript.
- tikhonj 15y agoCome, JavaScript isn't that bad: it's probably one of the most pleasant of the popular languages; it's just unpolished and has some stupid bits.
- DiabloD3 15y agoI suspect you just described almost every language ever.
- astine 15y agoLet's take the empirical approach: "Come, BrainFk isn't that bad: it's probably one of the most pleasant of the popular languages; it's just unpolished and has some stupid bits." Nope, guess not.
- DiabloD3 15y agoLet me rephrase, "almost every language that is close to or has met its peak popularity"
- tikhonj 15y agoLet me rephrase it then: fundamentally, JavaScript is sound. It's like a nice city with a couple of bad neighborhoods you can usually avoid. Other languages have much more pervasive bad features, and yet others are fundamentally unsound. JavaScript is fine.
- jronkone 15y agoSaying that "Javascript is fundamentally sound" is like saying "McDonalds serves fundamentally nutritious food". It's technically true, but ignores completely what people actually mean when they use the phrases like "fundamentally sound".
- geekytenny 15y agoThe individual files are good to read, but are there any links to .tar or .zip of all the files? I have looked and didn't find any....