🔗Reinforcement Learning: An Introduction : Andrew Barto and Richard S. Sutton : Internet Archive textbook, second edition by Richard S. Sutton and Andrew G. Barto.
The code examples are in lisp. Has links to various teaching aides and all the pdfs cited in the book.