code-generating code

noun
UK /kəʊd ˈdʒɛnəreɪtɪŋ kəʊd/
US /koʊd ˈdʒɛnəreɪtɪŋ koʊd/

Code that writes other code for you.

The team used code-generating code to build the app's forms automatically.


OTHER MEANINGS

2. Software that turns templates or models into working programs.

The code-generating code produced all the database classes from one schema.

3. A program that writes repetitive parts of a program so people don't have to.

Instead of typing every getter by hand, she ran the code-generating code.

4. Tools that create code from a description, such as a model or diagram.

Their code-generating code read the diagram and output the API stubs.