Oneliner-izer: An Exercise in Constrained Coding
https://www.youtube.com/watch?v=DsUxuz_Rt8g [www.youtube.com]
2019-02-06 00:39
We’ll describe the ideas and implementation behind Oneliner-izer, a “”compiler“” which can convert most Python 2 programs into one line of code. As we discuss how to construct each language feature within this unorthodox constraint, we’ll explore the boundaries of what Python permits and encounter some gems of functional programming – lambda calculus, continuations, and the Y combinator.