Does D supports REPL
Seb via Digitalmars-d
digitalmars-d at puremagic.com
Tue May 24 13:44:57 PDT 2016
On Tuesday, 24 May 2016 at 19:43:07 UTC, cym13 wrote:
> On Tuesday, 24 May 2016 at 19:38:50 UTC, Tanmoy Kar wrote:
>> Hi,
>>
>> I came to know D today while surfing for next would be popular
>> language.
>>
>> I did not go the forums, still just wanted to know whether D
>> supports REPL (Read-Eval-Print Loop), like scala. where we can
>> do a quick check of the small code on the fly ( without going
>> through the full cycle of compile - linking ...., for a quick
>> test).
>>
>> Nice to see that it's D. C , C++ and now one step ahead the
>> brand new D.
>>
>>
>> Thanks
>> Tanmoy
>
> This works https://github.com/MartinNowak/drepl although it's
> quite quirky. Fore some reasons REPLs haven't been part of the
> D philosophy in the past, I don't think it will be in the near
> future.
There is also dabble (https://github.com/callumenator/dabble),
but it seems to be broken.
Btw I do think it's part of the D philosophy (run fast simple
examples), but I guess it's just not top priority at the moment.
Martin's drepl had approval btw, see e.g.
https://twitter.com/d_programming/status/433715152655884288
Maybe we just need to move it to the dlang github namespace, s.t.
it gets properly maintained and maybe even released with dmd/dub?
More information about the Digitalmars-d
mailing list