TSG grammars implemented in Sicstus Prolog