javascript with D2

Flamaros flamaros.xavier at gmail.com
Sat Mar 2 14:41:32 PST 2013


On Saturday, 2 March 2013 at 17:11:32 UTC, Dmitry Olshansky wrote:
> 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.

Sadly, just because I don't have a lot of free time, I certainly 
fallback on Lua instead of putting my nose in DMDScript.

Maybe in a far far future if my project is viable, a migration 
from Lua to javascript would be possible.


More information about the Digitalmars-d mailing list