A grammar for trolley problems

David Stark / Zarkonnen
2015-04-26 14:55

Trolley problems are ethical thought experiments that are IMO a bit too popular and contrived. McSweeney's did a recent post making fun of them and inspired me to create a generator for them.

The generator is based on a context-free grammar, a notation that lets you describe symbols turning into sequences of other symbols. It's on GitHub and I'm enthusiastically accepting pull requests for additional entities that could be imperiled by trolleys.

S

(Click text to generate another one.)