Re: Books or Implementations and ISO Prolog.



José Rui Faustino de Sousa wrote:

These two have very good reviews:

"The Art of PROLOG" Sterling

"The Craft of PROLOG" O'Keefe

but are older than the standard so I guess that they just cover some
dialect.

They cover basically DEC-10 Prolog which was to some extent the basis
for ISO part 1


These two also have good reviews especially Bratko:

"Prolog Programming for Artificial Intelligence" Bratko

Also pre-ISO I think.




The only book I could find that specifically mentions ISO Prolog is:

"Programming in PROLOG" Mellish

However, is it just part 1 or part 1 and 2?


Definitely not part 2. And it is poor in its explanation/use of part 1;
see a review of the book at
http://www.cs.kuleuven.be/~dtai/projects/ALP/TPLP/TPLP_CONTENTS/BookReviews.html



In another note I have looked at Prolog implementations and although
some vendors claim a strong interest in ISO Prolog I could find no
implementation claiming to adhere to part 2



Have I just missed some important implementation? On the other hand, is
there some reason for this apparent disregard for the ISO standard?


It is possible that IF-Prolog implements part 2 (besides part 1 of
course). But major players (SICStus commercial, and SWI open) are not
prepared to take on the modules part. OTOH, their module systems are
so similar, and close to another (old) de-facto standard (the one from
Quintus) that people in general don't care about part 2. For historical
reasons, many Prolog systems have a predicate based module system.
Part 2 tried to clean up some stuff in it, but complicated
matters even more than they were. So now Prolog is stuck with a bad
standard on modules, and a suboptimal practice. But if you use it
wisely, it will hardly ever bite you.

Cheers

Bart Demoen
.



Relevant Pages

  • Re: output **no Whats wrong here?
    ... > io-modes debated during the drafting of the ISO definition of Prolog? ... enough to form the basis for a standard. ... should not design a new language or features no system currently ...
    (comp.lang.prolog)
  • Re: Any Prolog language lawyer out there?
    ... This is of course a bit undesirable as the tokeniser returns atoms, ... and floats as Prolog objects. ... the only reason to interpret the - in "-4" as an operator is if we ... Does the official standard document document say anything about handling ...
    (comp.lang.prolog)
  • Re: Promoting Forth (Re: EuroForth 2008 workshop "Forth is dying")
    ... number of Forth systems come with manuals, and it seems to me that ... is that the name of his newer language does not contain "Modula". ... Prolog: ISO Prolog is based on Edinburgh Prolog, not Marseille Prolog, ... I think he has stated himself that he is not interested in a standard; ...
    (comp.lang.forth)
  • Re: mainstreaming Prolog
    ... > I think you should refer to the ISO standard for Prolog. ... a language without an accepted module system? ...
    (comp.lang.prolog)
  • Re: mainstreaming Prolog
    ... For the ISO Standard definition to Prolog please see ... interfaces and try to stay one step ahead of what the users require. ... Prolog standard took more than 10 years to formulate and is one of the ...
    (comp.lang.prolog)