Tekstiviesti: The logic of categorial grammars