Any working REPL program on windows? DREPL doesn't compile

jmh530 john.michael.hall at gmail.com
Thu Mar 23 13:27:00 UTC 2023


On Thursday, 23 March 2023 at 11:46:48 UTC, matheus wrote:
> On Thursday, 23 March 2023 at 09:39:40 UTC, John Xu wrote:
>> Anybody know any working REPL program? I failed to find a 
>> working one.
>>
>> https://github.com/dlang-community/drepl
>> can't compile on my Windows 10, dub reports:
>> ...
>
> According to their Readme:
>
>> Supported OS
>
>> Works on any OS with full shared library support by DMD 
>> (currently linux, OSX, and FreeBSD).
>
> Matheus.

OP, would you be able to try using drepl with Windows Subsystem 
for Linux (WSL) and reporting back?

There's a lot of value in getting drepl working on Windows (I 
believe DMD shared library support needs to be improved, not sure 
also whether drepl would work with other D compilers) and in good 
enough shape to be used with Jupyter. Unfortunately, it's beyond 
my skills set to contribute to this effort and the only way 
things like this get completed is if people are willing and able 
to work on them.

That being said, I also get a lot of use out of run.dlang.io for 
trying out small ideas. It's not a Jupyter replacement, but the 
way it is working now significantly reduces my need for something 
like Jupyter. What it can't handle is if you have some project 
locally that you want to import. So long as you're just trying 
something out that uses a few well known set of D projects, it 
works well.


More information about the Digitalmars-d-learn mailing list