Does D supports REPL

Carl Vogel via Digitalmars-d digitalmars-d at puremagic.com
Wed May 25 11:03:49 PDT 2016


On Wednesday, 25 May 2016 at 00:12:24 UTC, Seb wrote:
> On Tuesday, 24 May 2016 at 23:26:27 UTC, jmh530 wrote:
>> On Tuesday, 24 May 2016 at 20:44:57 UTC, Seb wrote:
>>> 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?
>>
>> Integration with Jupyter would be cool as well, but I have 
>> basically no idea how to accomplish that.
>
>
> Yep I would love to have a D Jupyter kernel - there is already 
> PydMagic [1], which looks great (I haven't tried it yet), but 
> all those other languages (C, C++, Scala, Java, Tcl, Brainfuck, 
> Clojure, Ocaml, Erlang, Go, FSharp, Haskell and on the dynamic 
> end: Python, JavaScript, CoffeeScript, Ruby, PHP, Perl, Octave, 
> Bash, PowerShell, Lua, Julia, Prolog, J, etc.) [2] managed to 
> get a working Jupyter kernel, so why don't we :O
> I opened an issue at d-repl [3], maybe that's a good place to 
> start a focussed discussion.
>
> [1] https://github.com/DlangScience/PydMagic
> [2] 
> https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages
> [3] https://github.com/MartinNowak/drepl/issues/37

It seems to me that both drepl and dabble are unsupported. It's 
not clear to me which one at this point is a better basis for a 
stable repl (I kind of prefer drepl, since the code is clearer to 
me, and I can mostly compile it.) If you're really interested in 
a good REPL for D--which I agree would be a great gain--and want 
to fork either of these, I'd be very interested in this effort 
and happy to contribute (otherwise I may start going at it on my 
own). It really is something I'd use a lot if it existed.


More information about the Digitalmars-d mailing list