So Miller and Urey do their famous experiment in 1953. In it, they collect what at the time scientists thought the early conditions of Earth were, and placed the constituents in a sealed bottle and heated and electrocuted the mixture. It yielded about 11 of the 20 amino acids found in all living things.
The only problem was that the concept of what the original conditions of the Earth was wrong.This underwent a rapid growth in understanding just shortly after the Miller Urey work. By adding more chemicals that more accurately represented primeval Earth, even more biochemicals were synthesized.
In 1961 Joan Oro synthesized adenine, a nucleotide found in RNA and DNA.
Oró J, Kamat SS (April 1961). "Amino-acid synthesis from hydrogen cyanide under possible primitive earth conditions". Nature. 190 (4774): 442–3.
And way, way earlier than that, Aleksandr Butlerov in 1861 started making sugars from formaldehyde. One of the sugars created was ribose which provides the longitudinal backbone of the RNA molecule.
A. Boutlerow (1861) "Formation synthétique d'une substance sucrée" (Synthetic formation of a sugary substance), Comptes rendus … 53: 145-147. Reprinted in German as: Butlerow, A. (1861), "Bildung einer zuckerartigen Substanz durch Synthese" (Formation of a sugar-like substance by synthesis), Justus Liebigs Annalen der Chemie, 120: 295-298.
This is all part and parcel of the "RNA World" theory. This was gaining traction in the time I was an undergrad (late 70's) and is now a pretty robust theory.
Here is a nice New York Times article illustrating the chemistry involved:
link
It is the same John Sutherland from the original link.