drepl
drepl copied to clipboard
A REPL for D
- count input line numbers - show line numbers in prompt (maybe only for old input) - set `#line num "drepl" before compilation
Useful to interactively try out local sources. This should work similarly to ghci's module command. http://www.haskell.org/ghc/docs/latest/html/users_guide/loading-source-files.html
Currently when one of these brackets '[]', '()', '{}' is unmatched the REPL will go into multiline mode. Multiline input can be aborted with two blank lines. Additionally to the...
At module scope variable declarations only have constant initializers. To support `auto seed = unpredictableSeed()` the corresponding module should be rewritten like so. ``` d module _mod2; import _mod0, _mod1;...
There should be commands to interact with the REPL. `:help` `:symbols` ...
Both `dub` and `dmd` were installed from dlang rather from zypper. DUB version 1.29.0, built on May 13 2022 DMD64 D Compiler v2.100.0 OpenSUSE Leap 15.3 cc (SUSE Linux) 7.5.0...