Books suggested by members of the
Pascal Compiler mailing list:
Compilers: Principles, Techniques, and Tools. Aho, Sethi, and Ullman, Addison-Wesley,
1986. This is the classic "dragon" book. It covers a wide range of topics
and is used as a textbook for compiler classes.
Compiler Construction. Niklaus Wirth, Addison-Wesley, 1996. He develops
an Oberon-0 compiler in Oberon using recursive descent. Oberon-0 is a cut down version
of Oberon.
Writing Compilers and Interpreters: An Applied
Approach. Ronald Mak, John
Wiley & Sons, 1991. There is a more recent version. This book is very practical.
It shows you step by step how to create a Pascal compiler (in C, unfortunately).