@prosegen was planned to be a bot that would generate sentences from a probabilistic context-free grammar.

I initially implemented this in Go but migrated it to TypeScript to run the below preview in a browser.

However, the probabilistic portion has not yet been implemented, and each alternative in a production rule has equal probability to be selected.

Local Stream

Here is a preview that generates random examples.