Re: SWI-Prolog 7.1.3
Alan Baljeu <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
You may be right in the particulars. In vague terms, what I want is
loop { read_good_stuff(Stuff), process(Stuff) }
And if good_stuff is anything that's not delimiters, then read_string
does the job. You cite a case where you're interested in knowing something
of the delimiters, and I believe then a better variant of read_string can be
devised which still meets my use-case.
Alan Baljeu
----- Original Message -----
From: Richard A. O'Keefe <[email protected]>
To: Jan Wielemaker <[email protected]>
Cc: Prolog mailing list <[email protected]>
Sent: Sunday, December 15, 2013 9:01:39 PM
Subject: Re: [SWIPL] SWI-Prolog 7.1.3
On 14/12/2013, at 4:52 AM, Jan Wielemaker wrote:
>
> The current set of string operations will also appear in ECLiPSe and
> YAP. Small changes are still possible, but I expect the set to be
> stable.
The current version of
http://www.cs.otago.ac.nz/staffpriv/ok/pllib.htm
has a section on string predicates.
I have not been able to figure out any way to use the
read_string predicates to do any of the string reading
I have uses for; use cases for those predicates would
be of interest to me.
_______________________________________________
SWI-Prolog mailing list
[email protected]
https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog