> In fact, I explained the whole code in my Principia Softwarica book series (see https://principia-softwarica.org/). Probably not intentional but the link is currently broken.