if you mean WHO wrote it, the answer is John Locke. Otherwise, if you really mean HOW wrote it, I assume it was written with a pen and paper.
John Locke
John Locke (1632-1704), the philosopher