If you like this subject, I wrote a quicksort in lambda calculus in Python: https://news.ycombinator.com/item?id=38848905
I had been playing around with the idea and thought I'd try a larger example to see how painful it was to work with. I don't think I would build anything bigger with that technique, though.
https://gist.github.com/dunhamsteve/1be0cbb346d75ee1be8f67d1...
[1]: https://bruijn.marvinborner.de/std/List_Church.bruijn.html#s...
https://github.com/sid137/emacs/blob/master/sym-lock.el
(I used it with xemacs at the time, because it had more flexible font handling.)PS: Nice work :-)