This patch adds a document about the DecoderEmitter backend. It describes in a high level overview how the state machine of the decoder is generated.
I thought it is a useful addition, because it took me quite some time to recognize that a state machine is generated.
The diagrams follow no specific standard. I am happy to change them to one if you think it makes things clearer.