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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Prolog Introduction for Hackers

60 点作者 mbowcock超过 14 年前

5 条评论

silentbicycle超过 14 年前
Also recommended: <a href="http://www.learnprolognow.org/" rel="nofollow">http://www.learnprolognow.org/</a><p>Sterling and Shapiro's _The Art of Prolog_ is wonderful, on par with (say) SICP. It focuses as much on the logic programming model as Prolog proper.
chrisduesing超过 14 年前
I knew that Erlang was originally written in Prolog, but I somehow managed to never look at any Prolog code before. It explains so much about the structure and approach that Erlang took.<p>I am curious to explore how the Erlang interpreter was written, in light not of the similarities, but the subtle differences between the two languages. The use of -&#62; was particularly interesting in comparison to how it is used in Erlang.
评论 #2153385 未加载
bemmu超过 14 年前
How big an undertaking would it be to implement a Prolog interpreter?
评论 #2153172 未加载
评论 #2153068 未加载
评论 #2153598 未加载
评论 #2152992 未加载
评论 #2153907 未加载
wladimir超过 14 年前
I did some Prolog for the logical programming course on university a long time ago. Back then, the hype was that Prolog was the next thing for artificial intelligence and reasoning.<p>It seems it didn't really meet that promise -- 'analog' approaches such as SVMs, Bayesian networks have turned out to be much better than logical reasoning for most real world AI approaches.<p>Why use Prolog (except for curiosity)? Is it easier to make some kinds of programs in it? (which are useful in the real world, not backtracking AI for simple games)
SeanLuke超过 14 年前
What annoyed me most about Prolog: if you type something on the command line, the syntax is quite different (assert, etc.) than if you put it in a file and then load it.