]> Repositorios git - scryer-prolog.git/commitdiff
include library(pio) and library(charsio) in the description
authorMarkus Triska <[email protected]>
Sat, 25 Apr 2020 18:08:56 +0000 (20:08 +0200)
committerMarkus Triska <[email protected]>
Sat, 25 Apr 2020 18:12:54 +0000 (20:12 +0200)
README.md

index 52b29734f652691d0bfa1fc8ec8ee884fad93951..337b540747df294dbda177dfff3d264d47128e44 100644 (file)
--- a/README.md
+++ b/README.md
@@ -308,6 +308,12 @@ The modules that ship with Scryer&nbsp;Prolog are also called
   `time/1` reports the CPU&nbsp;time of a goal. It is useful
   for measuring the performance of your code.
 
+To read contents of external files, use `phrase_from_file/2` from
+[`library(pio)`](src/prolog/lib/pio.pl) to apply a&nbsp;DCG to
+file&nbsp;contents. The predicates in
+[`library(charsio)`](src/prolog/lib/charsio.pl) are also useful for
+parsing.
+
 To use predicates provided by the `lists` library, write:
 
 ```