Grammar as Functions [CF Article]