by joshmarlow · 10y ago · 0 comments
This works particularly well for Java as the Eclipse compiler iteratively compiles and most IDEs will let you run a single method.
I imagine a similar stopgap could be used for Rust. I know its not the same but in some ways I have sort of disliked REPLs because its is very easy to accidentally delete or loose what you have type and you might as well make your playing around a test (just my 2 cents).
If you had something like that, I imagine you could probably write a Kernel for Jupyter which would be a huge win.
[1] https://github.com/PistonDevelopers/dyon
You might also be able to link the repl with Rust Language Server which could be linked with incremental compilation, letting you define modules or pub fn's dynamically.