Hey @augusto2112 ,
Getting back after a while but I did some research.
Feel free to correct me if I am wrong here but this is what I realize
-
There was a compiler centric REPL even before the debugger centric one. (I think its this what I was looking for based on my questions above)
-
This also used to expose a runREPL (Remove integrated REPL by slavapestov · Pull Request #31187 · swiftlang/swift · GitHub)
and it was probably this function that I would have ended up using for my usecase with Jupyter -
It was finally removed here Remove integrated REPL by slavapestov · Pull Request #31187 · swiftlang/swift · GitHub
after some discussion on the RFC (RFC: Removing the integrated REPL - #21 by dan-zheng)
I think a compiler centric REPL would help me case so much more as mostly Jupyter Kernels implementing support for REPLs end up having interpreter/compiler based REPLs and not really debugger based :\