Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The original implementation of JS was in C, not CL.

I think Eich was more partial to Scheme than CL, as a model for JS. Though I wouldn’t say it’s Java syntax over either - the scoping rules are very distinct, it’s missing tons of features core to either CL or Scheme, there’s the whole Self-inspired prototype-based OOP layer…





I also always thought that he set out or implement a Scheme-like language but got told to make it look like Java.

Scheme is a LISP of course, just not Common Lisp.

I have no idea what language the original implementation was in but it makes sense it would be the same as the rest of the browser.


Yes. But that prototype was in CL.

I went to a talk by Eich in the late 90s. He explicitly mentioned scheme



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: