A mechanical view of coding.   The Writer Automaton