A grammar for trolley problems

David Stark / Zarkonnen
26 Apr 2015, 2:55 p.m.

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.)