The formation of carbohydrates, especially of grape sugar, from substances which are themselves not carbohydrates, such as protein or fat.