(I'm not sure if it's kosher to link to it—if not, then please let me know and I'll remove it—but I implemented a SKI combinator reducer in Perl regexes a while back: http://perlmonks.org/?node_id=809842 .)
EDIT to add: Speaking of 'Mockingbird' articles, you may be interested in Appendix A of http://dkeenan.com/Lambda/index.htm, whose author discusses another interpretation, attributed there to Barendregt, of Booleans and numerals. For someone who regards the Church encoding as 'intuitive', they were very surprising!
5 comments
[ 2.1 ms ] story [ 25.8 ms ] thread(I'm not sure if it's kosher to link to it—if not, then please let me know and I'll remove it—but I implemented a SKI combinator reducer in Perl regexes a while back: http://perlmonks.org/?node_id=809842 .)
This was mostly just me trying to wrap my head around Church encodings and such, but I could surely do with a couple more combinators in there :).
EDIT to add: Speaking of 'Mockingbird' articles, you may be interested in Appendix A of http://dkeenan.com/Lambda/index.htm, whose author discusses another interpretation, attributed there to Barendregt, of Booleans and numerals. For someone who regards the Church encoding as 'intuitive', they were very surprising!
What is YARV? :)
Yeah, Tom Stuart is great - that's where I got the idea to create this.