SwiftPM gives the REPL a package's build context
engineeringswiftswiftpmreplThe new swift run --repl option builds a package and prepares imports and runtime symbols for interactive use. Its implementation combines module search paths with a temporary dynamic-library product.