4 ms·
Long ago and far away there was only one PC implementation for Prolog and like a good little programmer I gave it a shot. It was an 'interesting' ride (interest
by hsmyers 15y ago
Long ago and far away there was only one PC implementation for Prolog and like a good little programmer I gave it a shot. It was an 'interesting' ride (interesting in the Chinese sense) but I stuck with it long enough to understand that I was better off building my projects in the languages that Prolog seemed to have been built from. Never looked back; finished the project without further confusion or delay, took that as a sign. Similar to how many on HN seem to feel about Lisp :)
- JoelMcCracken 15y agoI tend to think that prolog is better as a language library, such as with Racklog: http://docs.racket-lang.org/racklog/index.html http://docs.racket-lang.org/racklog/index.html
- kanak 15y agoPeter Norvig also has two implementations of Prolog in Paradigms of AI Programming (first one is interpreted, second is complied) in Common Lisp. The book is highly recommended because Norvig's code is very elegant and his exposition is wonderful. Allegro Prolog [1] is based on Norvig's implementation, although I'm sure they've done a fair bit of optimizing. [1]: http://www.franz.com/products/prolog/ http://www.franz.com/products/prolog/
- JoelMcCracken 15y agoYeah, I've heard. I really need to acquire and work through that book.
- kanak 15y agoYou should totally do it... it's fantastic. Norvig makes it quite clear in the beginning that he expects you to know atleast some lisp beforehand (the "intro" chapter is a bit sparse), so you might want to brush you on your CL skills before you dive in.
- JoelMcCracken 15y agoI think I will. I'm fairly novice at CL, and it would be good to learn it.
- mark_l_watson 15y agoFranz supports a port of his Prolog in their AllegroGraph products, in addition to Allegro Prolog.