4 ms·
This approach is taken by https://github.com/dlang-community/drepl https://github.com/dlang-community/drepl and https://docs.scala-lang.org/overviews/repl/overv
by dawg 8y ago
This approach is taken by https://github.com/dlang-community/drepl https://github.com/dlang-community/drepl and https://docs.scala-lang.org/overviews/repl/overview.html https://docs.scala-lang.org/overviews/repl/overview.html. While it works surprisingly well, you need to parse and transform the REPL input to emulate some language constructs in the right scope.