By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,969 Members | 1,767 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,969 IT Pros & Developers. It's quick & easy.

javascript IDEs

P: n/a
if i use javascript as a language (say, doing math computations) and
not using any of DOM/DHTML, it's quite a pain to always run thru
browser/html.

is there some IDE or emacs mode where i can run javascript much like a
pure scripting language where it prints to the screen?

Xah
xa*@xahlee.org
http://xahlee.org/

Sep 2 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Xah Lee wrote on 02 sep 2005 in comp.lang.javascript:
if i use javascript as a language (say, doing math computations) and
not using any of DOM/DHTML, it's quite a pain to always run thru
browser/html.

is there some IDE or emacs mode where i can run javascript much like a
pure scripting language where it prints to the screen?


The command-based script host (CScript.exe)

Windows Script Host (WScript.exe)

<http://www.microsoft.com/resources/d...all/proddocs/e
n-us/cscript_overview.mspx>

<http://www.winguides.com/scripting/reference.php?id=107>

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Sep 2 '05 #2

P: n/a
umm... I'm on a Mac?

Xah
Evertjan. wrote:
The command-based script host (CScript.exe)

Windows Script Host (WScript.exe)

<http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/cscript_overview.mspx>

<http://www.winguides.com/scripting/reference.php?id=107>


Sep 2 '05 #3

P: n/a
Xah Lee wrote on 03 sep 2005 in comp.lang.javascript:
Evertjan. wrote:
The command-based script host (CScript.exe)

Windows Script Host (WScript.exe)

<http://www.microsoft.com/resources/d...s/xp/all/prodd
ocs/en-us/cscript_overview.mspx>

<http://www.winguides.com/scripting/reference.php?id=107>

[please do not toppost on usenet]
umm... I'm on a Mac?


Sorry, then you are on your own. ;-}
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Sep 3 '05 #4

P: n/a


Xah Lee wrote:
umm... I'm on a Mac?


I don't know about IDEs but if you want a simple shell then you can use
Spidermonkey or Rhino, the JavaScript engines the Mozilla organization has:
<http://www.mozilla.org/rhino/>
<http://www.mozilla.org/js/spidermonkey/>
Rhino is implemented in Java so you need Java (which is available for
the Mac) to run it but has the advantage that Mozilla distributes
compiled Java classes for download so you can easily download that and
simply run for instance the JavaScript shell with Java.
Spidermonkey is implemented in C and Mozilla does not distribute
binaries of the engine and the shell itself so you would need to
download the src and build it on the Mac.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Sep 3 '05 #5

P: n/a
"Xah Lee" <xa*@xahlee.org> wrote in news:1125698208.322858.175760
@o13g2000cwo.googlegroups.com:
if i use javascript as a language (say, doing math computations) and
not using any of DOM/DHTML, it's quite a pain to always run thru
browser/html.


I don't think it's really much of a pain to wrap the javascript with a
couple of html tags. The MyEclipse extension to eclipse has a built in
browser and javascript editor that will allow quick development. The
Venkman (sp?) javascript debugger extension for Firefox is also really nice.

Sep 3 '05 #6

P: n/a
JRS: In article <11**********************@o13g2000cwo.googlegroups .com>
, dated Fri, 2 Sep 2005 14:56:48, seen in news:comp.lang.javascript, Xah
Lee <xa*@xahlee.org> posted :
if i use javascript as a language (say, doing math computations) and
not using any of DOM/DHTML, it's quite a pain to always run thru
browser/html.

is there some IDE or emacs mode where i can run javascript much like a
pure scripting language where it prints to the screen?


I have something that might help, although at much greater effort
something better might be or may have been coded. It can be used as a
programmable calculator.

See <URL:http://www.merlyn.demon.co.uk/js-quick.htm> (don't use that
page; take a local copy). Note that it does not use a code file, so if
you write an uninterruptible loop, all may be lost.

I keep a button that runs that page permanently available.

AFAICS, it'll work on a Mac.

--
John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Sep 4 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.