It was the earliest programmable machine.[53] Sharbat and soft drink: In the medieval Middle East, a variety of fruit-flavoured soft drinks were widely drunk, such as sharbat, and were often sweetened with ingredients such as sugar, syrup and honey.