Flexible language for calculating grades.