I also assumed this is for non-fiction books but then I checked the Github page and the first video shows Alice in Wonderland as an example. This is the reason I asked.
Is there any mechanism to prevent the AI from answering with spoilers? For example, when I ask about a character I don't want information coming from pages/chapters I still didn't read.
This is almost the same aproach I used for Bloxp[0]. I have some common Previous Post link markups and I try to navigate from the last post in a blog, one by one, to the first. I also allow to manually indicate the HTML markup to use for crawling a given blog, in case it is not matching any of the common ones.
I uploaded the site 10 years ago (at first I did it because it was useful to me) and I have made almost no changes since then but many people still use it as a simple way to export a full blog into an ePub.
Structured Text is one of the programming languages at Part 3 of the International Standard IEC 61131 for Programmable Logic Controllers [0]. In my (european) experience it is commonly used in production.
Later, IEC 61499 for Distributed Systems [1] extended the IEC 61131 with (among others) event-driven control.
On the open source ecosystem, Eclipse 4diac [2] might be interesting as it provides a full PLC framework including IDE and Runtime Environment.