COOL compiler in C++ for Coursera's MOOC