Die woordeboekdefinisie van "samestelling" is die proses om inligting of data uit verskeie bronne te versamel en te organiseer en dit saam te stel in 'n enkele dokument of program. In die konteks van rekenaarprogrammering verwys samestelling na die proses om mensleesbare bronkode in masjienuitvoerbare kode te vertaal. Hierdie proses behels verskeie stappe, insluitend leksikale analise, sintaksisanalise, semantiese analise, kode-optimering en kodegenerering. Die gevolglike uitvoerbare kode kan dan op 'n rekenaar of ander toestel uitgevoer word.