Article View: comp.lang.prolog
Article #1395Re: Can I talk about Parlog here?
From: Steve Gregory
Date: Tue, 13 Nov 1990 17:58
Date: Tue, 13 Nov 1990 17:58
24 lines
1774 bytes
1774 bytes
In article <EIVERSON.90Nov12212535@thrinakia.nmsu.edu> eiverson@nmsu.edu (Eric Iverson) writes: > >I am in the process of writing a parser in Parlog on the Sequent >Symmetry and am having a rather difficult time of it. I am beginning >to suspect that it is Parlog and not me that is at fault. One main >reason for this suspicion is that I typed in a parser program from >Conlon's "Programming in Parlog" and it does *not* work......... The Parlog parser published in Tom Conlon's book is correct, as far as I'm aware, if not very efficient. There is no difficulty in running it on a full implementation of Parlog, such as MacParlog or PC-Parlog. The problem appears to be that the Parallel Parlog system (as on the Sequent) imposes the restriction that "deep" guards, which are heavily used in Tom's parser, must be tried sequentially, not in (or-)parallel. The solution is to change the clause search operator to ';' in the procedures that use deep guards. This seems to work, though I don't know why the original version simply fails with no error message. Specific questions about the behaviour of the Parallel Parlog system are best sent to Imperial College (parlog@doc.ic.ac.uk). Steve Gregory University of Bristol steve@cs.bris.ac.uk
Technical Details
Message-ID:
<1601@csisles.Bristol.AC.UK>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!cf-cm!csisles!steveReferences:
<EIVERSON.90Nov12212535@thrinakia.nmsu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!cf-cm!csisles!steve From: steve@CompSci.Bristol.AC.UK (Steve Gregory) Newsgroups: comp.lang.prolog Subject: Re: Can I talk about Parlog here? Message-ID: <1601@csisles.Bristol.AC.UK> Date: 13 Nov 90 17:58:56 GMT References: <EIVERSON.90Nov12212535@thrinakia.nmsu.edu> Reply-To: steve@csisles.UUCP (Steve Gregory) Distribution: comp Organization: Dept of Computer Science, University of Bristol, UK. Lines: 24