This version of Learn Prolog Now! embeds SWI SH , SWI-Prolog for SHaring. The current version rewrites the Learn Prolog Now! HTML on the fly, recognising source code and example queries. It is not yet good at recognising the relations between source code fragments and queries. Also Learn Prolog Now! needs some updating to be more compatible with SWI-Prolog. All sources are on GitHub:
LearnPrologNow LPN SWISH Proxy SWISH

Chapter 12
Working With Files

This chapter is concerned with various aspect of file handling and modularity. We will learn three things:

  1. How predicate definitions can be spread across different files.
  2. How to write modular software systems.
  3. How to write results to files and how to read input from files.

eXTReMe Tracker
© 2006-2012 Patrick Blackburn, Johan Bos, Kristina Striegnitz