The basis of the modern Italian language was established by the Florentine poet Dante Alighieri , whose greatest work , the Divine Comedy , is considered among the foremost literary statements produced in Europe during the Middle Ages .