Grammar has evolved over time through the contributions of many scholars and linguists. However, the ancient Greeks are often credited with laying the foundation for modern grammatical rules through the works of scholars such as Dionysius Thrax and Aristarchus of Samothrace.