[mercury-users] Reading from strings

Robert Ernst Johann JESCHOFNIK rejj at cat.cs.mu.OZ.AU
Wed Oct 13 23:09:57 AEST 1999


Heya everybody.

I was just wondering if anyone out there has made up a library for reading
words/lines/etc from strings. Basically, using a string as a sort of
`fake' input stream. There is allready io__read_from_string, which is the
same as io__read (reads in ground terms in valid Mercury syntax).
Basically, what I am after is io__read_word_from_string, which would have
the same semantics as io__read_word (Read in a whitespace delimited word).

thanks,
Rob
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list