I just made my first official release of js-comint.el.
Js-comint.el is a javascript comint mode which lets you run a
javascript interpreter from within emacs. It's hosted on
http://sourceforge.net/projects/js-comi
can be found here:
http://js-comint-el.sourceforge.net/
It works really well in conjunction with js2-mode by Steve Yegge for
javascript editing. With a couple of extra lines of elisp, you can be editing along some javascript, hit C-x C-e and execute the javascript in a javascript interpreter like Rhino or Spidermonkey.
Questions or comments can be sent to me via e-mail (check the .el for my e-mail).
As I'm a bit of an amateur elisper, suggestions for imrpovement are always welcome.
October 31 2008, 16:02:54 UTC 3 years ago
October 31 2008, 19:56:29 UTC 3 years ago
October 31 2008, 20:51:16 UTC 3 years ago
nifty!
Though what I want is the reciprocal, a way to run emacs in javascript (or java for that matter).Yeah, emacs on a T-Mobile G1 would be nifty.
Anonymous
November 2 2008, 03:28:28 UTC 3 years ago
Error ;(
M-x run-jsException in thread "main" java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main
Caused by: java.lang.ClassNotFoundException: org.mozilla.javascript.tools.shell.Main
at java.net.URLClassLoader$1.run(URLClassLo
at java.security.AccessController.doPrivile
at java.net.URLClassLoader.findClass(URLCla
at java.lang.ClassLoader.loadClass(ClassLoa
at sun.misc.Launcher$AppClassLoader.loadCla
at java.lang.ClassLoader.loadClass(ClassLoa
at java.lang.ClassLoader.loadClassInternal(C
Could not find the main class: org.mozilla.javascript.tools.shell.Main.
Process js exited abnormally with code 1