Text this: Simple formal Ianguages and the structure of spacetime