metaprogram

metaprogram

A program which modifies or generates other programs. Acompiler is an example of a metaprogram: it takes a programas input and produces another (compiled) one as output.