Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have to ask: why is JavaScript the right tool for the job? Why not use a scripting language intended to be used this way, such as Python, Ruby, Lua, ... etc? </p> <p>If you are using Microsoft's JScript (and it sounds like you are), look to the MSDN web site for help. The page <a href="http://msdn.microsoft.com/en-us/library/72bd815a%28VS.80%29.aspx" rel="nofollow noreferrer">here</a> looks fairly good. <a href="http://www.google.com/search?&amp;q=site%3Amsdn.microsoft.com+jscript" rel="nofollow noreferrer">Google</a> can also help with that. </p> <p>Assuming you don't mind using Java, you could also use the Mozilla <a href="http://www.mozilla.org/rhino/" rel="nofollow noreferrer">Rhino</a> shell. But it doesn't look like there is a standard way of reading from the console in JavaScript. (presumably since this is not something typically required in a JavaScript application...) The <a href="https://developer.mozilla.org/en/Rhino_Shell" rel="nofollow noreferrer">built in JavaScript functions in the shell</a> seem fairly basic, but you <em>can</em> read a file.</p> <p>There area also <a href="http://www.mozilla.org/rhino/examples.html" rel="nofollow noreferrer">examples</a> of using Rhino, which may be helpful. You can interface with the Java API to do whatever else you need to do. </p> <p><strong>Edit:</strong> I wrote this answer a long time ago; today I would use <a href="https://nodejs.org/" rel="nofollow noreferrer">node.js</a>. See their <a href="https://nodejs.org/en/get-involved/#learning" rel="nofollow noreferrer">learning</a> page.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload