logoalt Hacker News

Needed 1+1, built a functional programming language

74 points • by birdculture • yesterday at 4:18 PM • 17 comments • view on HN

Comments

gnarlouse • today at 12:20 AM

This reminds me of decades ago when ...wait, I was still writing code like three years ago.

ancientstraits • today at 12:35 AM

The "how to implement a hash table" article https://benhoyt.com/writings/hash-table-in-c/ was really helpful for me. I thought that hash tables were something that were basically impossible to make in C, but this showed that it was simpler.

➕ show 3 replies
winwang • today at 1:53 AM

Nice, I like this style of exposition. "Let's do this one thing -> well, shit -> (loop)". Term rewriting (graph reduction as you've said) is evaluation.

gbacon • today at 1:44 AM

See also https://perl.plover.com/yak/lambda/ from 1999.

> Perl Contains the Lambda Calculus

> (How to write a 163 line program to compute 1+1)

> Length: 90 minutes

Prerequisites: None.

➕ show 1 reply
vivzkestrel • today at 3:21 AM

- 404? on blog page

- https://hereticpleb.vercel.app/blog