TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A lambda expression visualizer for the web

43 pointsby notbover 12 years ago

4 comments

notbover 12 years ago
The source is kinda crude at this point, but I hope to eventually allow named abstractions as well as direct manipulation of the tree (click n drag). Supporting types might be interesting as well.
Sniffnoyover 12 years ago
The notation is cumbersome, but I like the visualization. I wish eta-reduction were implemented rather than just beta-reduction.<p>Unfortunately there appear to be some errors. Try entering the following expression:<p>#(##2 1)<p>This, if I've understood the notation correctly, means λx.(λy.λz.y)x. Thus, it should reduce to λx.λz.x, or ##2. However, the program instead reduces it to ##1, or λx.λz.z.<p>So, something's really wrong here.
评论 #5230833 未加载
DanWaterworthover 12 years ago
The text at the bottom says this is simply typed lambda calculus, but surely this is untyped lambda calculus.
评论 #5230674 未加载
tqsover 12 years ago
I think this would be really great with back and forward controls, i.e. rewind.