Implements general language function