escape sequence processor. am not really sure that we do need to process esc sequences.