• Looking for a JavaScript interpreter

    From dcwhatthe@gmail.com@21:1/5 to Anton Shepelev on Tue Jul 27 17:51:45 2021
    On Wednesday, March 17, 2021 at 8:42:07 AM UTC-4, Anton Shepelev wrote:
    Hello, all

    What interpreters can you suggest for learing JavaScript? I
    can't seem to find a light and simple stand-alone
    interpreter, not developed by a mega-corporation and
    distributed as a small executable, so that I can develop
    JavaScript programs in my favourite general-purpose IDE or
    text editor, without reliance upon a browser or huge
    specialised IDE. I need something like the Tiny C Compiler
    for the C language -- a standalone minimalistic tool.

    Such scripting languages as Lua and Python provide official
    open-source interpreters with ready binaries for all major
    OSes. Does JavaScript has anything like that?

    I looking for a Windows interpreter, preferably supporting
    Windows XP.

    --
    () ascii ribbon campaign - against html e-mail
    /\ http://preview.tinyurl.com/qcy6mjc [archived]
    Anton,

    I know this was a query of yours from months ago. But if you decide to go with the legacy JScript interpreter that Windows/WScript offers, a very useful IDE/Editor is VBSEdit. I've used it for years, primarily for VBScript.

    https://www.vbsedit.com/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Haufe (TNO)@21:1/5 to dcwh...@gmail.com on Wed Jul 28 08:26:28 2021
    On Tuesday, July 27, 2021 at 7:51:50 PM UTC-5, dcwh...@gmail.com wrote:

    Anton,

    I know this was a query of yours from months ago. But if you decide to go with the legacy JScript interpreter that Windows/WScript offers, a very useful IDE/Editor is VBSEdit. I've used it for years, primarily for VBScript.

    https://www.vbsedit.com/

    JSedit is more appropriate in that scenario and it's made by the same company

    Do a web search for "Adersoft JSEdit" and you might find a usable version.

    I don't know if it's maintained actively anymore but an evaluation version can be obtained from the Internet Archive:

    https://web.archive.org/web/20070206013511/http://www.vbsedit.com:80/jsedit30.exe

    Note that VSCode recognizes JScript and will provide autocompletion for a number of scripting host objects such as WScript.
    Other interfaces that VSCode provides out of the box for WSH can be seen here:

    <https://github.com/microsoft/TypeScript/blob/main/lib/lib.scripthost.d.ts>

    VSCode won't provide autocompletion for arbitrary dll's though. JSEdit/VBSEdit will. The evaluation version of both are nearly unusable though.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)