goran@erix.ericsson.se (Goeran Baage) (04/26/89)
Anybody out there know of a good introductory programming textbook using Prolog or a Prolog like programming language? I'd like to get such a book for my son (16), who has shown some programming interest. Thank's for any information. Goran Bage Computer Science Laboratory Ellemtel Box 1505 S-125 25 Alvsjo, Sweden tel: +46 8 727 3539 email: goran@erix.ericsson.se
lee@munnari.oz (Lee Naish) (04/27/89)
In article <2009@erix.ericsson.se> goran@erix.ericsson.se (G|ran B}ge) writes: > >Anybody out there know of a good introductory programming textbook >using Prolog or a Prolog like programming language? I'd like to >get such a book for my son (16), who has shown some programming >interest. I recently got a copy of "Introduction to Programming in Prolog" by Danny Crookes, Prentice Hall International Series in Computer Science, 1988, ISBN 0-13-710146-5. I have not read it all the way through in detail but from what I have seen, I think its a really neat little introduction to Prolog. One of the things I like about it is that it doesn't mention cut until page 215 (out of 218 pages). One of the main complaints I have of most Prolog texts is that they talk about cut too early and they use it too much. Of course you need to know about cut to be a *real* Prolog programmer but I think for someone who is interested in playing around to begin with, cut is best ignored. The book uses 'not' rather than cut. One of the (minor but) rather annoying things about the book is that it insists on putting white space between functors and left parentheses. It would also be nicer to include a better list of references for further reading (all it mentions is Clocksin & Mellish - the original but not the best, Malpas - better than most in my opinion, and Bratko - I use this for an AI course but have had to rewrite virtually every Prolog program in it). Lee Naish