Brogue, another roguelike, has impressive level generation as well. Here's a great interview with the developer about how it all works.
https://www.rockpapershotgun.com/2015/07/28/how-do-roguelike...
https://www.rockpapershotgun.com/2015/07/28/how-do-roguelike...