Alligator Eggs
Tuesday, July 10th, 2007 | Fun, Java, Programming, Work, computer science, language
I grab this url from a stashed place in the web http://worrydream.com/AlligatorEggs/ it’s a nice puzzle
alligator game.
This game represents the untyped lambda calculus. A hungry alligator is a lambda abstraction, an old alligator is parentheses, and eggs are variables. The eating rule corresponds to beta-reduction. The color rule corresponds to (over-cautious) alpha-conversion. The old age rule says that if a pair of parentheses contains a single term, the parentheses can be removed.
I’m sure that after 4.0 drools release I’m going to implement this game as a drools DRL.

No comments yet.
Leave a comment
Recent Comments
- Rafael Carneiro on O Scrume
- Dirceu Pereira Tiegs on O Scrume
- Jose Muanis on O Scrume
- Fernando Meyer on How to be happy at work?
- Bani on Pagerank isn’t for humans