TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Compiling to lambda-calculus: Turtles all the way down

86 点作者 budu超过 14 年前

7 条评论

sb超过 14 年前
While this is a nice article on compiling to lambda calculus, the uninitiated might find Barendregt's "Introduction to Lambda Calculus" (ftp://ftp.cs.ru.nl/pub/CompMath.Found/lambda.pdf) an invaluable resource. (IMHO, it's the best work for groking lambda calculus, at least it was for me and my learning prefernece/style)
shasta超过 14 年前
"The other direction requires more thought: how do you coax such a simple language into providing the features we expect of a modern programming language, such as numbers, Booleans, conditionals, lists and recursion? "<p>No, the other direction requires simulating a Turing machine with lambda calculus.
评论 #2112751 未加载
joshrule超过 14 年前
I'm always a bit awed when recognizable functions like 'if' and 'let' start emerging from a mess of lambdas and Xs. It amazing how simple items and simple rules can combine to create fantastically intricate systems (i.e. the entire space of computable functions). Thanks for sharing, Matt.
fexl超过 14 年前
I've been working on a combinatoric approach with Fexl, "compiling" all the way down to my two turtles S and C, e.g.:<p><a href="http://fexl.com/blog/9" rel="nofollow">http://fexl.com/blog/9</a><p>I'm also relying on two higher-level combinators L and R to reduce the size of the combinatorial forms, e.g.:<p><a href="http://fexl.com/blog/10" rel="nofollow">http://fexl.com/blog/10</a><p>The bottom line is that the entire Fexl parser is defined in terms of the two primitive combinators S and C.
评论 #2114854 未加载
binarymax超过 14 年前
I don't fully understand lambda calculus, but i inferred a stack overflow from his tattoo?<p>Went to buy the book and its beyond my budget at the moment ($215 on Amazon).
评论 #2112756 未加载
评论 #2112884 未加载
评论 #2114061 未加载
joelhaasnoot超过 14 年前
"Barendregt is a helluva drug."<p>Not sure I agree: his lectures are quite sleep inducing these days. Though reducing programming to something so simple and mathematical does open lots of possibilities...
评论 #2112771 未加载
iam超过 14 年前
Nothing like posting a picture of the y-combinator on a ycombinator.com site :)