marcpaq / b1fipl

A Bestiary of Single-File Implementations of Programming Languages
999 stars 38 forks source link

Untyped lambda calculus in JS #5

Closed masaeedu closed 5 years ago

masaeedu commented 5 years ago

Hello there. Thanks for collecting all these neat little bite sized programming languages! Fun reading over lunch.

I wrote a little implementation of the untyped lambda calculus in JS a while ago that I'm not 100% sure is a perfect fit for the repo (it's basically just beta reduction on a serializable AST), but I figured I'd PR it anyway and let you make the call. It is in one file at least.