Advertise D's great compatibilty with JavaScript

Ecstatic Coder ecstatic.coder at gmail.com
Sat Oct 14 12:11:53 UTC 2017


On Saturday, 14 October 2017 at 10:48:40 UTC, Joakim wrote:
> On Saturday, 14 October 2017 at 08:52:54 UTC, Ecstatic Coder 
> wrote:
>> On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright 
>> wrote:
>>> On 6/18/2017 3:38 AM, Ecstatic Coder wrote:
>>>> Something I really appreciate a lot with D is how close it 
>>>> is to JavaScript.
>>>
>>> There's also a D implementation of Javascript:
>>>
>>> https://github.com/DigitalMars/DMDScript
>>
>> What about a DScript interpreter ?
>>
>> I mean an interactive D code compiler, which compiles D code 
>> on the fly and runs it directly within an application, like 
>> the eval() function of JavaScript.
>>
>> Something that works at least for some D subset.
>>
>> For C++, there is the Cling interactive interpreter, based on 
>> LLVM :
>>
>> https://github.com/vgvassilev/cling
>
> Something like this?
>
> https://github.com/dlang-community/drepl

Not exactly the LLVM-based compile-to-memory interpreter I was 
thinking about, but this could indeed do the job ;)




More information about the Digitalmars-d mailing list