From Kernighan & Pike: a High Order Calculator
