"Functional pearl: a SQL to C compiler in 500 lines of code."

Tiark Rompf, Nada Amin (2015)
a service of Schloss Dagstuhl - Leibniz Center for Informatics