Text this: Grammars Controlled by Petri Nets