It’s birds all the way down: Fun Introduction to Lambda Calculus
summary
Live-coded lambda calculus in plain JavaScript: booleans as functions (returns first/second), Church numerals for 0,1,2,..., concrete successor, addition, multiplication (2×3 → 6), exponentiation (2^3 → 8), and a predecessor via pair-iteration so subtraction works. Implemented logical ops (and/or/not), comparisons (<=, =, >) and the Y combinator for recursion, then translated everything into combinators and showed it reduces to SK combinator calculus. All examples run in the editor with console output, showing the approach is practical and demonstrably working.
AI-written summary · about
chapters (10)
- 0:00Introduction to logic
- 2:27Lambda calculus basics
- 3:43Working with expressions
- 8:44Boolean and numeric logic
- 15:21Arithmetic operations
- 20:16Pairs and subtraction
- 26:34Operators and control flow
- 36:47Combinators and birds
- 41:21SK calculus
- 44:03Conclusion and Q&A
related talks
34mAn introduction to Lambda Calculus
37mLearn You Some Lambda Calculus
53mExplaining Lambda Calculus through Plain JavaScript
59mLambda Calculus For People Who Can't Be Bothered to Learn It - part 1 of 2
34mThe universe in a single arrow: A live dive into the lambda calculus
47mThere is a bluebird in my talk that wants to get out
30mThe Universe in a Single Arrow: A Live Dive into the Lambda Calculus
42mPractical Lambda Calculus
