Comment on Does this compiler exist?
porgamrer@programming.dev 1 year ago
If I understood correctly, the closest thing I know of to what you are describing is probably Terra:
It is an academic project with various papers presenting case studies that do things like change the whole programming paradigm the language, or the execution model, or the syntax.
The wider paradigm is called multi-stage programming. The other obvious languages to mention are the lisp family, and more recent spin-offs like Julia.