A REPL for D.
Install DUB (D's package manager) from the official releases.
Then fetch and start the drepl
:
dub fetch drepl
dub run drepl
Just run docker run -ti dlanguage/drepl
Details: https://hub.docker.com/r/dlanguage/drepl/
Works on any OS with full shared library support by DMD (currently linux, OSX, and FreeBSD).