Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #22532

Re: Ecmascripts implementation for dos?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Content-Type text/plain; charset="ISO-8859-1"
Message-ID <3673981.77RG0himkn@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Organization PointedEars Software (PES)
Date Mon, 06 Jan 2014 21:49:08 +0100
User-Agent KNode/4.11.3
Content-Transfer-Encoding 7Bit
X-Face %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v
Face iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg==
Subject Re: Ecmascripts implementation for dos?
Newsgroups comp.lang.javascript
References <3558cad0-c646-4879-81e0-57d524897dce@googlegroups.com> <7g2mc9tgdfjne2grok1nifq7p9u2pqtkbp@hive.bjoern.hoehrmann.de>
MIME-Version 1.0
Lines 35
NNTP-Posting-Date 06 Jan 2014 21:49:12 CET
NNTP-Posting-Host f63bc966.newsspool1.arcor-online.net
X-Trace DXC=T;4mMR_E1H0RadXUBHgFh3ic==]BZ:af>4Fo<]lROoR1nkgeX?EC@@0:B3KFXJVRe2DZm8W4\YJN<YUVHKH;GI^74lJ0R[J6TZ81>UVA932]P1
X-Complaints-To usenet-abuse@arcor.de
Xref csiph.com comp.lang.javascript:22532

Show key headers only | View raw


Bjoern Hoehrmann wrote:

> * jonas.thornvall@gmail.com wrote in comp.lang.javascript:
>> Would it be possible to run ecmascript on an older computer 8086, 286,
>> 386 processor, and are there implementations with disk read write
>> functionality?
> 
> I would recommend searching for popular MS-DOS compilers and JavaScript.
> http://www.delorie.com/djgpp/dl/elsewhere.html for instance lists some
> "JavaScript for DJGPP" implementation, but the link is broken and there
> seems to be nothing in the Internet Archive. It is entirely possible to
> make a very standards-compliant implementation in C that compiles for
> arbitraty targets, with some limitations.

Both Mozilla SpiderMonkey (in C, C++) and Google V8 (in C++) should 
(cross-)compile for Linux on IA-32, i.e. Intel 80386 and compatible 
architectures.  (Windows XP and later does not run there.)  However, I do 
not think that alone gives you disk I/O, too (AFAIK, XPConnect is part of 
the Gecko DOM API instead).

I agree that an ECMAScript implementation for Intel 80286 and earlier will 
have to be hand-crafted, perhaps based on that code, as there are 16-bit 
versions of Netscape Navigator 2.0 (which introduced JavaScript 1.0) in the 
evolt.org archive, but the SpiderMonkey source code was essentially 
rewritten when it went open source, and you would need Java and LiveConnect 
for disk I/O unless you write it yourself.

<http://en.wikipedia.org/wiki/SpiderMonkey> pp.
<http://en.wikipedia.org/wiki/V8_(JavaScript_engine)> pp.

-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Ecmascripts implementation for dos? jonas.thornvall@gmail.com - 2014-01-06 08:01 -0800
  Re: Ecmascripts implementation for dos? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-01-06 10:05 -0800
    Re: Ecmascripts implementation for dos? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-01-06 21:55 +0100
      Re: Ecmascripts implementation for dos? jonas.thornvall@gmail.com - 2014-01-06 13:54 -0800
  Re: Ecmascripts implementation for dos? Bjoern Hoehrmann <bjoern@hoehrmann.de> - 2014-01-06 20:58 +0100
    Re: Ecmascripts implementation for dos? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-01-06 21:49 +0100
      Re: Ecmascripts implementation for dos? lpsantil <lpsantil@gmail.com> - 2014-04-25 14:54 -0700
    Re: Ecmascripts implementation for dos? lpsantil <lpsantil@gmail.com> - 2014-04-25 14:57 -0700
    Re: Ecmascripts implementation for dos? lpsantil <lpsantil@gmail.com> - 2014-04-26 10:58 -0700

csiph-web