Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #22532
| Message-ID | <3673981.77RG0himkn@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2014-01-06 21:49 +0100 |
| Subject | Re: Ecmascripts implementation for dos? |
| Newsgroups | comp.lang.javascript |
| References | <3558cad0-c646-4879-81e0-57d524897dce@googlegroups.com> <7g2mc9tgdfjne2grok1nifq7p9u2pqtkbp@hive.bjoern.hoehrmann.de> |
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
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