- Title Pages
- Dedication
- Preface
- Acknowledgments
- 1 Thinking and Computation
- 2 A Procedure for Thinking
- 3 The Prolog Language
- 4 Writing Prolog Programs
- 5 Case Study: Satisfying Constraints
- * 6 Case Study: Interpreting Visual Scenes
- 7 Lists in Prolog
- 8 Case Study: Understanding Natural Language
- 9 Case Study: Planning Courses of Action
- 10 Case Study: Playing Strategic Games
- * 11 Case Study: Other Ways of Thinking
- 12 Can Computers Really Think?
- Appendix A Some Computer Basics
- Appendix B Getting Started with SWI-Prolog
- Appendix C Getting Your Prolog Programs to Work
- Appendix D Other Prolog Systems
- References
- Index of Technical Terms
The Prolog Language
The Prolog Language
- Chapter:
- (p.41) 3 The Prolog Language
- Source:
- Thinking as Computation
- Author(s):
Levesque Hector J.
- Publisher:
- The MIT Press
This chapter explains how to write computer programs in a language called Prolog. The first section examines the makeup of Prolog programs in detail. The second section does the same for Prolog queries, which are used to run Prolog programs. The third section reexamines the back-chaining procedure that Prolog uses.
Keywords: computer programming, programming language, Prolog programs, queries, back-chaining
MIT Press Scholarship Online requires a subscription or purchase to access the full text of books within the service. Public users can however freely search the site and view the abstracts and keywords for each book and chapter.
Please, subscribe or login to access full text content.
If you think you should have access to this title, please contact your librarian.
To troubleshoot, please check our FAQs, and if you can't find the answer there, please contact us.
- Title Pages
- Dedication
- Preface
- Acknowledgments
- 1 Thinking and Computation
- 2 A Procedure for Thinking
- 3 The Prolog Language
- 4 Writing Prolog Programs
- 5 Case Study: Satisfying Constraints
- * 6 Case Study: Interpreting Visual Scenes
- 7 Lists in Prolog
- 8 Case Study: Understanding Natural Language
- 9 Case Study: Planning Courses of Action
- 10 Case Study: Playing Strategic Games
- * 11 Case Study: Other Ways of Thinking
- 12 Can Computers Really Think?
- Appendix A Some Computer Basics
- Appendix B Getting Started with SWI-Prolog
- Appendix C Getting Your Prolog Programs to Work
- Appendix D Other Prolog Systems
- References
- Index of Technical Terms