Tolkāppiyam, also romanised as Tholkaappiyam (Tamil: தொல்காப்பியம் , lit. "ancient poem"), is the oldest extant Tamil grammar text and the oldest extant long work of Tamil literature. It is the earliest Tamil text mentioning Gods, perhaps linked to Tamil deities.There is no firm evidence to assign the authorship of this treatise to any one author. There is a tradition of belief that it was written by a single author who is called Tolkappiyar based on the name of his work.
The surviving manuscripts of the Tolkappiyam consists of three books (Tamil: அதிகாரம், romanized: Atikāram, lit. 'Chapter or Authority'), each with nine chapters (Tamil: இயல், romanized: Iyal), with a cumulative total of 1,610 (483+463+664) sutras in the Tamil: நூற்பா, romanized: nūṛpā, lit. 'verse' meter. It is a comprehensive text on grammar, and includes sutras on orthography, phonology, etymology, morphology, semantics, prosody, sentence structure and the significance of context in language. Mayyon as (Vishnu), Seyyon as (Kanda), Vendhan as (Indra), Varuna as (Varuna) and Kotṟavai as (Devi or Bagavathi) are the gods mentioned.