Unpopular idea here (from a hobbyist programmer). I would "kill" for a text editor/IDE/REPL shaped as a spreadsheet where each cell is a block of code with 2 possible views (text or result) linkable to other cells. This "spreadsheet" would be programming language agnostic (each cell could use a different language) and I could organize/format my cells (location, colors, size, etc) as I wish.
I am very curious about this idea of yours. Do you have a draft drawing of the concept or could you otherwise elaborate a bit more?
[0] Maybe because I have a background in Architecture, I tend to look at code as I would look at a house plan.