On Breadth-first Context-free Grammars