It'll be nice to be able to launch REPL with all the modules inside a package with a command like:
$ swift build --repl
One issue currently is that a module needs to have a dylib to be able run in REPL. Maybe we can generate dylibs for all the modules when user launches this mode?
Some reference here : https://bugs.swift.org/browse/SR-1191