Emacs Lisp vs JavaScript

By Xah Lee. Date:

Not emacs related but JavaScript. In past 3 months, i've been quite busy studying JavaScript, and wrote lots of tutorials. If you haven't done JavaScript and like my elisp tutorial, you might find this interesting.

Hope you like it.

for a bit fun, there's this guy you probably heard of: Steve Yegges. I have great admiration of him. He wrote a JavaScript mode (js2-mode), 10k lines of elisp, and features a real-time syntax checker. It was to be bundled with emacs 23, but unfortunately, due to gnu emacs politics and some ignorant youngster, a very dumb js-mode took its place instead (of which, any dummy lisper such as myself can write in a day). But, that's not all. Yegge also wrote a ECMA-262 compatible interpreter in emacs lisp! Also about 10k lines. (http://code.google.com/p/ejacs/) Now that's really something.

After Yegge did these projects, he wrote a blog musing on elisp vs JavaScript. Guess what he think is better? See: [Ejacs: a JavaScript interpreter for Emacs By Steve Yegge. At http://steve-yegge.blogspot.com/2008/11/ejacs-javascript-interpreter-for-emacs.html , accessed on 2013-11-20 ]

Emacs Lisp Misc Essays