TermReader
interface TermReader
Lazily reads Prolog terms from JVM character or byte streams.
readTerms does not consume its source until the returned Sequence is iterated. The sequence is backed by one stateful parse session and should be consumed once and sequentially. Syntax, I/O, and buffer failures become ParseExceptions at the iteration step that encounters them. The default reader adapter closes its input at EOF; wrapping an InputStream therefore also closes that stream.
See also
Inheritors
Functions
Link copied to clipboard
Reads the next term from inputStream, or null at EOF, using operators.
Link copied to clipboard
Returns terms decoded lazily from inputStream using operators.