Article View: comp.lang.prolog
Article #1508Re: a question about read
From: Michael Brady
Date: Tue, 29 Sep 1992 10:57
Date: Tue, 29 Sep 1992 10:57
17 lines
1167 bytes
1167 bytes
Three points: 1. Open Prolog misbehaves on this - it succeeds no matter what you input, but will only bind variables if the term to be read and the term actually read are unifiable. Clearly most undesirable. Mhust be shome mhistake. 2. In Richard O Keeffe's extract from the NU-Prolog manual, there is a sentence: 'All terms before the first syntactically correct term are ignored.' What does that mean? 3. Can anyone remember what DEC10 Prolog did? If memory serves, the behaviour of get/1 and read/1 were different in this regard. Can anyone comment? _________________________ Mike Brady Computer Science Department, Trinity College Dublin, Ireland
Technical Details
Message-ID:
<290992115341@brady.cs.tcd.ie>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!ieunet!tcdcs!brady.cs.tcd.ie!userReferences:
<10468@uqcspe.cs.uq.oz.au> <14755@goanna.cs.rmit.oz.au>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.prolog Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!ieunet!tcdcs!brady.cs.tcd.ie!user From: brady@cs.tcd.ie (Michael Brady) Subject: Re: a question about read Message-ID: <290992115341@brady.cs.tcd.ie> Followup-To: comp.lang.prolog Sender: usenet@cs.tcd.ie (NN required at ashe.cs.tcd.ie) Nntp-Posting-Host: brady Organization: University of Dublin, Trinity College References: <10468@uqcspe.cs.uq.oz.au> <14755@goanna.cs.rmit.oz.au> Date: Tue, 29 Sep 1992 10:57:28 GMT Lines: 17