Finally, the promised application and code examples are coming in!
First, you can find our application "Robust Hard Shadows" in the attachment.
This application allows you to play around with different hard shadow algorithms described in Chapter 4 of the book, including light-space perspective shadow mapping, cascaded shadow maps, different filtering modes etc. It provides ample visualization options, which are described in the accompanying readme.