Seol mar théacs é seo: Formal grammars in linguistics and psycholinguistics