Tierra[0], written by Tom Ray[1], immediately comes to mind. I was captivated when I read about it, as a teenager, in Steven Levy's "Artificial Life"[2]. Having played Core War[3], the description of Tierra in Levy's book inspired me to play around with making a virtual machine in Turbo Pascal and trying my hand at making a pale and naive clone. It was a lot of fun, and arguably has influenced a lot of my thinking about the origin of biological life.
Yes and it also reminds me of one of my favorite books, Andreas Wagner's "Arrival Of the Fittest" and, connected, the Miller-Urey experiment of course.
https://www.goodreads.com/en/book/show/20821275-arrival-of-t...
https://en.wikipedia.org/wiki/Miller%E2%80%93Urey_experiment