A simple technique for the synthesis of optical pulse sequences is described, where the input laser spectrum is viewed as a superposition of independent but interlaced combs assigned to different sub-pulses. The devised concept enables intuitive programming of complex multi-pulse waveforms via one-dimensional phase-only shaping. Using this approach, we perform self-referenced cross-correlation measurements of various optical waveforms and demonstrate the generation and coding of shaped pulse sequences.