473,397 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

javascript IDEs

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
6 1695
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
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
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


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
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Jonathan Turkanis | last post by:
Hi All, I hope this is not too far off topic here, but I can't think off any place where it would be exactly on topic. I'd like to get some sense of how widely used certain IDEs are. I'm...
8
by: noid droid | last post by:
Hi. A couple of months ago, I ordered the Visual Studio .NET upgrade from Microsoft and installed it. Today, I just realized that I have both the 2002 and 2003 IDEs on my system. Did I do...
104
by: Leszek | last post by:
Hi. Is it possible in javascript to operate on an array without knowing how mamy elements it has? What i want to do is sending an array to a script, and this script should add all values from...
4
by: mantrid | last post by:
Im trying to get a tick box to tick automatically when the user changes the textfield called comm. my code is below but it doesnt work. Can anyone see why? function changed(x) {...
6
by: Xcriber51 | last post by:
Hi I've come here after googling for this a day or two and not being able to spot what I'm looking for. I need a JavaScript IDE -- no frills, nothing special -- that offers me the ability to...
7
by: Tom de Neef | last post by:
I have done one Javascript project. It ended up with 1000 lines of code. The next one will be 10-20 times as big and my question is whether I should switch to Java. I have always programmed in...
3
by: mmm | last post by:
I am looking for advice on Python Editors and IDEs I have read other posts and threads on the subject and my two questions at this time are mainly about the IDLE-like F5-run facilities. While I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.