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.

Prolog Introduction for Hackers

60 pointsby mbowcockover 14 years ago

5 comments

silentbicycleover 14 years ago
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.
chrisduesingover 14 years ago
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 未加载
bemmuover 14 years ago
How big an undertaking would it be to implement a Prolog interpreter?
评论 #2153172 未加载
评论 #2153068 未加载
评论 #2153598 未加载
评论 #2152992 未加载
评论 #2153907 未加载
wladimirover 14 years ago
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)
SeanLukeover 14 years ago
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.