In computing, code generation denotes software techniques or systems that generate program code which may then be used independently of the generator system in a runtime environment.
Specific articles:
Code generation (compiler), a mechanism to produce the executable form of computer programs, such as machine code, in some automatic manner
Automatic programming (source code generation), the act of generating source code based on an ontological model such as a template