I'd love to see DScript one day ...

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 12 05:25:00 PDT 2016


On Sunday, 12 June 2016 at 12:13:45 UTC, Chris wrote:
> On Sunday, 12 June 2016 at 11:58:08 UTC, ketmar wrote:
>> On Sunday, 12 June 2016 at 11:23:56 UTC, Chris wrote:
>>> I haven't had a chance to look at the source code in detail 
>>> yet. How hard would it be to integrate JIT and D (and C) 
>>> interop?
>>
>> not hard. there is extension example (extending engine with 
>> D). also, the engine compiles scripts to IR code, which can be 
>> JITed as is, or used as a base for some other code 
>> representation.
>>
>> the worst thing (for me) is that it is javascript.
>
> Yeah, same here! It'd be best to write a proper scripting 
> language based on DMDScript.

Well, ES6 is actually reasonably ok. It has both generators and 
WeakSet (set of objects that is pruned if the object is collected 
and many many other improvements:

http://es6-features.org/



More information about the Digitalmars-d mailing list