Text this: The development of Peirce's theory of signs