ClausesReader
interface ClausesReader
Reads clauses and theories lazily from JVM character or byte streams.
Lazy clause sequences are backed by one parse session and should be consumed once in order. Reading starts on iteration. The default adapter closes its input at EOF; an InputStream wrapped for decoding is closed with that reader. Parsing and I/O failures are translated to it.unibo.tuprolog.core.parsing.ParseException and identify their zero-based clause index.
See also
Functions
Link copied to clipboard
Reads all clauses eagerly from inputStream using operators.
Link copied to clipboard
Returns clauses decoded lazily from inputStream using operators.
Link copied to clipboard
Reads all clauses from inputStream into a theory using operators.