I was reading through a history of Buddhism recently, which led me to a famous title called the Shōbōgenzō by Eihei Dōgen, written in the 13th century. I highly recommend this book.
I know there is a great deal of writing on Zen from the 20th century and beyond, but for my purposes I'm interested in literature that was written prior to the year 1900. Either explicitly about Zen Buddhism, or a closely related precursor to Zen.
Were there any other important works on this subject dating back to it's inception? What were they?