Text this: A grammar of mayan hieroglyphs