I don’t really like keyword driven frameworks. For a whole bunch of reasons that I won’t go into now, since you came here to learn how to write them.
Well, here’s the secret…
This is old tech. Older than old.
In fact, when I see it being promoted as ‘state of the art’ I’m amazed, and a little disappointed.
The first book I read that relates to this was “Write your own adventure programs for your Microcomputer”, back in 1983, and it teaches the basics of how a keyword driven framework works.