Interactive D?

Oskar Linde oskar.lindeREM at OVEgmail.com
Tue Feb 26 04:00:17 PST 2008


renoX wrote:
> bearophile a écrit :
>> Oskar Linde:
>>> I got the idea to investigate the possibility of an interactive D 
>>> interpreter. A lazy afternoon of hacking resulted in a proof of
>>> concept, and what follows is a short demo. Could there be any
>>> interest in pursuing this?
>>
>> A interactive shell interpreter is very useful to learn the language,
>> and to try little snippets of code before copying them into the code.
> 
> 
> Well D being statically typed and this 'interactive D' being dynamically 
> typed, I'm not sure that the interpreter is usable for this purpose.

The only part where the dynamical typing takes place is during
assignment to the interactive variables. One could quite easily remove
that dynamic typing. It was just easier doing it this way. :)

> That said, I'm quite impressed with the work..
> Only one afternoon of work? Wow!

I'll put the code online in a few days so you can see that it is much 
less impressive than it might seem. :P

-- 
Oskar



More information about the Digitalmars-d mailing list