flip package:invertible-grammar

Flip forward and backward passes of an underlying grammar.
Run a grammar with inputs and outputs flipped.