Dyck Words, Pattern Avoidance, and Automatic Sequences | Synapse