unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to run javascript in emacs?
@ 2008-07-10  1:10 Xah
  2008-07-10  3:05 ` Xah
  2008-07-11  4:33 ` Tim X
  0 siblings, 2 replies; 5+ messages in thread
From: Xah @ 2008-07-10  1:10 UTC (permalink / raw)
  To: help-gnu-emacs

I want to run Javascript in a console with emacs. Does anyone have
suggestions on what's the solution?

Here's some detail... In perl/python/php, i can just write the code in
a buffer/file and run it with M-!. I would like to have something
similar for javascript. Basically, with the end result that i just
type in a buffer, save, press some button or command in emacs, and see
results. How can i do this?

I haven't much experience in coding javascript other than coding
simple sample scripts, and today i just downloaded Firebug in Firefox
3 but i don't want to have to switch to the browser.

The context is learning and experimenting with the language. I don't
need the DOM attached. Just need to for example write fibonacci or
prime generator and or other pure string manipulation functions with
js.

Since FF has a js engine...  is there a way to call the js interpreter
with operating system's command line? If so, that'd solve my problem.
(am not familiar with FF dev)

Thanks.

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-19  4:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10  1:10 how to run javascript in emacs? Xah
2008-07-10  3:05 ` Xah
2008-07-11  4:33 ` Tim X
2008-07-16 10:04   ` Arnaud Diederen (aundro)
2008-07-19  4:46     ` David Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).