Does D supports REPL

cym13 via Digitalmars-d digitalmars-d at puremagic.com
Tue May 24 12:43:07 PDT 2016


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.


More information about the Digitalmars-d mailing list