There&#x27;s a lot of stuff packed in to your comment here.<p>The code&#x2F;data equivalence isn&#x27;t necessary to make this data-first approach work. Consider JavaScript, where it&#x27;s quite popular to power complex processes with simple JSON (maybe + extensions, like functions). The approach also works well in typed functional languages, albeit with greater declaration burden. Moreover, it would even work well in languages like Java, if you&#x27;re willing to buck the XML trend.<p>That said, data being a subset of code (which is also implied by equivalence) is what makes this technique much more popular in Lisps (and JavaScript). Being able to easily move forms between evaluation, quoting, interpretation, etc is critical to evolving the right approach.<p>Regarding whole program transforms: They don&#x27;t compose, at least not without a substantially more sophisticated macro system (like Racket&#x27;s) or evaluator (see work on &quot;extensible interpreters&quot;). Check out Racket&#x27;s rich literature on macros if you want to see the state of the art here.<p>Lastly, changing behavior based on context can be accomplished by many techniques including interpretation, dynamically scoped binding, etc. Read about Common Lisp&#x27;s condition system, or Eff&#x27;s &quot;Algebraic Effects and Handlers&quot; to see the state of the art of the dynamic substitution of effects. However, each new context needs to carefully reason about the interleaving of effects, since time is linear.<p>If you want more flexibility with time, you have to turn it in to space. That&#x27;s what happens when you take a step-by-step procedure and turn it in to data you can interpret. Consider code that prints a lot of stuff. Instead, you can return a lazy sequence of strings and then at the very end do something like `(apply str parts)` to concatenate it all together. Now that each sub-printer doesn&#x27;t have side effects, you can re-order and refactor the calls without worrying about messing up the printed output. You&#x27;ve decoupled the evaluation timeline from the linear order of the output.