javascript with D2
Dmitry Olshansky
dmitry.olsh at gmail.com
Sat Mar 2 09:11:22 PST 2013
02-Mar-2013 17:19, bearophile пишет:
> Flamaros:
>
>> I am looking for a D2 java-script engine. I saw DMDScript but it's
>> seems works only with D1 and abandoned.
>
> I think DMDScript was ported to D2 too.
>
> Bye,
> bearophile
This is the latest version of my D2 port.
https://github.com/blackwhale/DMDScript
I do not work on it anymore but it should work just fine. In fact I
tweaked it so that now it's in line with ECMAScript-v5 except for strict
mode (as measured by Google's sputnik test suite).
The only problem is that I haven't compiled it since dmd 2.054 or so
(and speed is about 20-80x slower then V8, but blah they JIT and the
stuff). Could take a good few hours to make it compile with latest dmd
removing deprecated language features, fixing some old syntaxes etc.
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list