I use org mode (and a custom tangler, because Emacs' tangler is slow and gets slower with every file you tangle) precisely for Knuth-style literate programming.
The only reason I didn't mention it here was that GP was talking about running one SRC block at a time, rather than building the entire project to export and run as an executable.
Comments
That sounds a lot like a Jupyter notebook
Also Emacs' org-mode.
Literate programming, Donald Knuth
I use org mode (and a custom tangler, because Emacs' tangler is slow and gets slower with every file you tangle) precisely for Knuth-style literate programming.
The only reason I didn't mention it here was that GP was talking about running one SRC block at a time, rather than building the entire project to export and run as an executable.