» » Programming in Prolog

Fb2 Programming in Prolog ePub

by H. Steinmetz,W F Clocksin

Category: Computer Science
Subcategory: Technologies and Computers
Author: H. Steinmetz,W F Clocksin
ISBN: 3540175393
ISBN13: 978-3540175391
Language: English
Publisher: Springer-Verlag Berlin and Heidelberg GmbH & Co. K; 3rd revised & extended ed edition (December 31, 1987)
Pages: 296
Fb2 eBook: 1553 kb
ePub eBook: 1285 kb
Digital formats: lit lrf mbr docx

Authors: Clocksin, William, Mellish, Christopher .

eBook 46,00 €. price for Finland (gross). It was probably the first introductory Prolog book and it is still the most gentle introduction to Prolog for everyone, including non-computer scientists. the book is as great as ever as an introductory text for Prolog. When a newbie asks for an introduction to Prolog, the best advice is still Clocksin & Mellish.

Rivest,and . tein,PHI Pvt.

For example, the International Conference on Logic Programming will meet in 1995 for the twelfth time; the Internet newsgroup comp.

Programming in Prolog: U. .has been added to your Cart.

Charles Proteus Steinmetz (born Karl August Rudolph Steinmetz, April 9, 1865 – October 26, 1923) was a German-born American mathematician and electrical engineer and professor at Union College. He fostered the development of alternating current that made possible the expansion of the electric power industry in the United States, formulating mathematical theories for engineers.

William F. Clocksin, Christopher S. Mellish. Though many Prolog textbooks have been published since, this one has withstood the test of time because of its comprehensiveness, tutorial approach, and emphasis on general programming applications.

Programming In Prolog book.

by William F. Clocksin. Clocksin and Christopher S. Mellish: Programming in Prolog. Using Prolog Grammar Rules. 92 Representing the Parsing Problem in Prolog. 93 The Grammar Rule Notation. 94 Adding Extra Arguments. 95 Adding Extra Tests. ISBN 0 387 58350 5. Contents. Tutorial Introduction. 12 Objects and Relationships. 98 More General Use of Grammar Rules.

Here is the book that helped popularize Prolog by making it accessible to a wide range of readers. This edition includes much new material and improved presentation. It will serve as an invaluable reference work for anyone who wants to study and use Prolog as a practical programming language.
Comments to eBook Programming in Prolog
- Even someone with no programming or math knowledge could pick up the book, read it, and learn Prolog
- Uses ISO-Prolog
- Large section of helpful example programs

Big Cons:
(I'll give citations, only from the first 100 pages to keep things short, lest anyone think I am lying about the problems with the book)
- Frequent syntax errors *in program statements* - in Prolog, every comma and period is absolutely essential, when they are missing it entirely changes the meaning of the statement - the book misses them pretty routinely (p 81, twice)
- Frequent logic errors - in Prolog, the order of facts and rules is extremely important. The book commonly mixes things up, presenting you with programs that will not work (p 56 - note here that they are trying to give an example of what will/won't work, and they get it backwards)
- Frequent editing/formatting errors - charts, diagrams etc are fairly often on the wrong page or in the wrong location, etc. (p 48)
- Poor organization - looking through the table of contents, you would think the book is extremely well organized, but as you read it, you'll find new and important ideas thrown into random sections - if you forget something, and need to find it later, you'll probably need to re-skim the entire book. Things are almost never presented in convenient bullets/numbering, almost always in paragraph form, again, making essential ideas tedious to find.
- Confusing - I have degrees in math and computer science, and have been programming for 15 years, and I still found parts of the book hard to follow - note that it had nothing to do with Prolog itself, which is actually very straightforward, but rather with the explanations given, which sometimes seem meandering and poorly worded.
- A really short and crummy index makes things hard to find. For example, look up "atoms", a concept first mentioned on page 26, and routinely mentioned afterwards, a concept absolutely essential to understanding Prolog - the index shows that the first (and only) time it appears is on page 123.

Average Cons:
- Authors use an "arrow system" to trace Prolog decision making, I think a table system (which could easily show previous, current, and future steps, and details of each iteration) would have been better while presenting more information in a clearer fashion.
- Code re-use - normally a good thing, frustrating in this book. You might have a rule (like a function) called "mother(X)..." early on in the book, not use it for 100 pages, and then it appears again. If you want to try the program out yourself, you'll need to know the exact definition of "mother(X)...". There's no way to find what page the function was on in the index or TOC, so you find yourself spending 30 minutes leafing through the book to find it. 99% of these are a single line of code, so there's really no need to reuse them, it's hardly saving any space.
- Overly complex examples - sometimes the authors illustrate an idea with 20 lines of code, when 4 would have been sufficient. It makes for a lot of extra reading and deciphering.

Small Cons:
- (This could be a pro or con - since I don't know too many people who *start* their programming experience with Prolog, I assume the reader has some experience with programming, and so list this as a con) Book is far too detailed for someone with moderate programming or math experience. This helps some people, but makes it a tedious read for others. Every concept is thoroughly explained. If you're a programmer, this gets a little old during things like variables and recursion. If you know any math, verbose explanations of predicate logic will become tiresome. In fairness, it was no doubt the authors' intention to make a "complete" introduction to Prolog, and so it is hard to criticize this.
- (Another pro/con, depending on the reader) British examples - the authors are British (or at least one of them is), and use British references in their code all the time (9th century princes of Wales, p 34; horses who won races in Britain in 1927, p 53) - if you're British this might break up the monotony and make things a little more interesting, if you're not, it just gets a little old, I'd rather see every example just use "cat","dog","mouse".

- NOT a good reference book (and it wasn't meant to be), if you know Prolog already and need a reference book, look elsewhere. This is for people who do not know Prolog.

- I wish I bought a different book. BUT despite everything, I did adequately learn Prolog from this book, so will reluctantly give it 3 stars.
I went with the reviews that stated that this is the gold standard for learning Prolog and I was not disappointed. While some books on code have you searching for better, working examples on Google; this introduction included all working code organized in a logical and thoughtful manner. Only criticism I would have is that it goes on a little long at times on the theory of the workflow in Prolog, although there may be some people out there who are really interested in this aspect. If you are interested in logic programming at all pick this book up.
This is the "KnR" of Prolog programming. It has the same diversity of style that some people who might want a "how to program Prolog in 24 hours" approach won't appreciate. It covers the basis of the language however in a way that ties together, as all good programming reference books do, the fundamental reasoning that went into the language and how to use it effectively in the way it was meant to be. Great to read on Kindle app.
Programming in Prolog is a clear, precise introduction to Prolog from the ground up.

While is does start with the basics, it is an incredibly thorough text, covering all minutia of the language. The text is clear, easy to understand, and to the point, moving quickly through topics without sacrificing understanding.

I used this book as a supplementary text in an upper-division college course. After reading only the first four chapters, I knew things about the language that the instructor did not.
I highly recommend this book to any programmer of any skill level that is interested in learning the Prolog programming language.

The following two books were recommended in the preface of Programming in Prolog. The first as a quicker (though not as complete) overview for the experienced programmer, and the second as a language reference.
Clause and Effect: Prolog Programming for the Working Programmer
Prolog: The Standard: Reference Manual
Prolog is hard. This will help you across the initial threshold.
good, synthetic and very well written
Prolog is a complex subject, especially for someone not well familiar with mathematical logic. Thus, it is very important how the foundation would be laid down. Typically the books I had read on Prolog tend to two extremes. They are either too condensed for such a complicated subject as logical programming, or too broad and mathematically intensive. I would put this book into the first category. Though very concise and well structured, this book does not seem to be a good primer. I would rather recommend the book of Ivan Bratko "Prolog Programming for Artificial Intelligence (International Computer Science Series)" 2nd edition (the third edition of this book is due in August 2000). Ivan Bratko had managed to find the optimal style of presenting both the essence and the practical aspects of the language. Bratko's book covers various practical applications of the language and manages to convey the basic concepts of Prolog without overwhelming the beginner with too abstract or too condensed passages.
Nevertheless, "Programming in Prolog" could be a very good programming reference once you are relatively comfortable with the language.
Related to Programming in Prolog
Menerba 1210: Drama istoric, un prolog e nou tiradas (Teatre d'oc) eBook
Fb2 Menerba 1210: Drama istoric, un prolog e nou tiradas (Teatre d'oc) ePub
PROLOG Wizard: A Wiley Programmer's Reference eBook
Fb2 PROLOG Wizard: A Wiley Programmer's Reference ePub
Essentials of Logic Programming (Graduate Texts in Computer Science) eBook
Fb2 Essentials of Logic Programming (Graduate Texts in Computer Science) ePub
PAP96: Proceedings of the Fourth International Conference on the Practical Application of PROLOG eBook
Fb2 PAP96: Proceedings of the Fourth International Conference on the Practical Application of PROLOG ePub
An Introduction to Programming in PROLOG eBook
Fb2 An Introduction to Programming in PROLOG ePub
Prolog Programming: A Tutorial Introduction (Artificial Intelligence Texts) eBook
Fb2 Prolog Programming: A Tutorial Introduction (Artificial Intelligence Texts) ePub
Adventure in Prolog (Springer Compass International) eBook
Fb2 Adventure in Prolog (Springer Compass International) ePub
Machine Intelligence 11: Logic and the Acquisition of Knowledge (No.11) eBook
Fb2 Machine Intelligence 11: Logic and the Acquisition of Knowledge (No.11) ePub
Practical Aspects of Declarative Languages: 11th International Symposium, PADL 2009, Savannah, GA, USA, January 19-20, 2009, Proceedings (Lecture Notes in Computer Science) eBook
Fb2 Practical Aspects of Declarative Languages: 11th International Symposium, PADL 2009, Savannah, GA, USA, January 19-20, 2009, Proceedings (Lecture Notes in Computer Science) ePub