Generative programming

ASAMI, Tomoharu

Term

generative programming

Aliases

-

Definition

Generative programming refers to the technique of automatically producing source code or program structures from abstract specifications, templates, or models. Its goals include improved type safety, semantic consistency, and maintainability through static or dynamic code synthesis.

SimpleModeling

In SimpleModeling, generative programming plays the core role of generating software artifacts from literate models. It enables the precise and safe synthesis of Scala, HTML, JSON-LD, and other artifacts from structured representations like SmartDox, ModelDox, and CML.