The history of computing began long before electronic circuits and modern processors.
Charles Babbage began developing his Difference Engine during the 1820s.
Instructions could be supplied through punched cards https://forum.issabel.org/u/bet365betasia