See the essay, Recursive Magic Systems, for an explanation of what’s going on here.
This generator is currently in a very rough 0.1 proof-of-concept state. There are a number of low-hanging fruit I already have plans to improve — organizing and expanding the word list, revising the logic to reduce repetition, changing the output format to delinate which text came from which tables.
More ambitiously, I’d like to add more knobs to turn — generating batches of ideas with highly correlated values; limiting or forcing the level of complexity; and finally, a graphical interface for editing the recursive tables. It’s possible to export and import JSON data to customize the possible outputs, but right now you’ll have to reverse engineer the format yourself.
I expect to accomplish all of this given a few days to work, but currently, fixing up this generator has already delayed the release of the accompanying essay by a few days. I think the writing is more important than the code, so I’d rather show this off in a scuffed state than get stuck endlessly improving it.