javascript with D2

Maxime Chevalier maximechevalierb at gmail.com
Sat Mar 2 14:45:37 PST 2013


There's my D JavaScript engine, but it might not be mature enough 
for your taste. It's a research project.

http://pointersgonewild.wordpress.com/higgs/

I'm implementing a JIT compiler for it as we speak.

On Saturday, 2 March 2013 at 22:41:33 UTC, Flamaros wrote:
> 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