replace a intenal representation

original attoparsec switcedh a new internal representation