> Your proposal is more general, but still assumes that > - the control structure of the reader is simple.
This is what Bison requires. Actually Bison's reader is complex, buy the output is fed to a Flex scanner, which takes care of the complexity. > A symmetrical proposal could be done for the case that > - the control structure of the writer is simple. I don't know of any usecase here. Paolo