# Metacompilation

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Metacompilation
> Markdown URL: https://mediated.wiki/source/Metacompilation.md
> Source: https://en.wikipedia.org/wiki/Metacompilation
> Source revision: 1329728719
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{no footnotes|date=November 2021}}

'''Metacompilation''' is a [computation](/source/computation) which involves [metasystem](/source/metasystem) transitions (MST) from a computing machine ''M'' to a metamachine ''M' '' which controls, analyzes and imitates the work of ''M''. [Semantic](/source/Semantic)s-based program transformation, such as [partial evaluation](/source/partial_evaluation) and supercompilation (SCP), is metacomputation. Metasystem transitions may be repeated, as when a program transformer gets transformed itself. In this manner MST hierarchies of any height can be formed. The Fox{{what|date=May 2012}} paper reviews one strain of research which was started in [Russia](/source/Russia) by [Valentin Turchin](/source/Valentin_Turchin)'s [REFAL](/source/REFAL) system in the late 1960s-early 1970s and became known for the development of supercompilation as a distinct method of [program transformation](/source/program_transformation). After a brief description of the history of this research line, the paper concentrates on those results and problems where supercompilation is combined with repeated metasystem transitions.

==See also==
*[Metacompiler](/source/Metacompiler)
*[Partial evaluation](/source/Partial_evaluation)

==External links==
* [https://hjemmesider.diku.dk/~jpsecher/ Papers on metacompilation]
* [http://refal.net/doc/turchin/dag/dag.html Metacomputation: Metasystem Transitions + Supercompilation] an introduction to supercompilation

{{prog-lang-stub}}
Category:Compiler construction

---
Adapted from the Wikipedia article [Metacompilation](https://en.wikipedia.org/wiki/Metacompilation) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Metacompilation?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
