It could double as REPL and you can reach into any part of the compiler pipeline and write your own transformations.
Does anybody remember the documentation for Backbone? The "annotated source" documentation was side by side the code, it was really helpful.
https://backbonejs.org/docs/backbone.html (This is the annotated source) Imagine if it was "alive"?
I have practically no exposure to Bazel and Buck but these advanced build systems have advanced refresh logic which is feels it is an advanced caching.
These systems and Makefiles essentially do refresh logic/regeneration from changed sources. Maybe it could be like Greenspun's 10th rule, every system eventually builds its own caching system and refresh logic and dirty-rechecking. (See React's virtual DOM)
[1]: https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
There's also crossovers with Knuth's literate programming here. And spreadsheets.