Extract shared helper functions from example grammars