https://www.amazon.com/Brinch-Hansen-Pascal-Compilers/dp/013...
If you decide to compile a Pascal-like language, I can't recommend "Brinch Hansen on Pascal Compilers" enough. If I remember correctly the Pascal compiler described in the book can compile itself.