D interpreter?

Brendan brenzie at gmail.com
Thu Sep 4 03:09:43 PDT 2008


bearophile wrote:
> Brendan:
>> It would be a great boon if there were a D interpreter where you just 
>> write some code to try out.
> 
> Recently someone has shown here a probably very nice exec module/system (I don't remember the name and author, sorry, someone else can help you),  to execute D code dynamically. But despite looking cool I have not 
succeed making it work, and everyone seem to have ignored it. You can 
take that project and create what you want, it's not an interpreter, but 
maybe it's fast/good enough for interactive use, to learn D syntax, try 
snippets of code, etc (basically some of the things the Python/ Scheme / 
etc REPL are good for).
> Note that lot of people coming from statically typed languages like C++ may ignore your words, because they don't understand why a REPL is so useful, so you have to teach/explain them carefully :-)
> 
> Bye,
> bearophile

I think I have misplaced that word 'interpreter' or maybe not. What I 
meant was an interactive environment, much like you have with 'ghci' for 
Haskell. So I guess that abbreviation you used, 'REPL', is more like it.

I can see why some would not care for such a thing, but I think they 
shouldn't be the aim at all if we're talking about usage of a D REPL. 
But they may be the aim if it's about the creation of one :) But 
certainly they would at least understand the advantage of one?



More information about the Digitalmars-d mailing list