Any one of several textbooks about compiler construction written by Alfred Aho and Jeffrey Ullman, especially Compilers: Principles, Techniques, and Tools (1986).
Dragon Book
Some definitions on this page are adapted from Wiktionary, used under CC BY-SA 4.0. Credits.