{"by":"jorkingit","descendants":27,"id":44196589,"kids":[44198974,44197035,44198330,44198912,44196957,44200887,44199998,44201618,44199793,44201043,44197017],"score":70,"text":"What if Brainfuck was less like C and more like Scheme?<p>The interpreter implemetation is pretty bad. It&#x27;s not very fast, it&#x27;s not very good, and it&#x27;s probably not very correct. But maybe there&#x27;s some vaguely interesting programs you could write with it!<p>For example, the Y combinator:<p><pre><code>  λf. (λx. f (x x)) (λx. f (x x))\n</code></pre>\nis written as:<p><pre><code>  \\` \\`1 `0 0 \\`1 `0 0</code></pre>","time":1749166175,"title":"Show HN: Lambduck, a Functional Programming Brainfuck","type":"story","url":"https://imjakingit.github.io/lambduck/"}