Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!gatech!news.sprintlink.net!news.ecrc.de!ecrc!acrab60!thom
From: thom@ecrc.de (Thom Fruehwirth)
Subject: Re: Need Help about Parsing :)
Message-ID: <D8rx3z.An0@ecrc.de>
Sender: news@ecrc.de
Reply-To: thom@ecrc.de
Organization: European Computer-Industry Research Centre GmbH.
References: <D8qBK4.Mov@news.informatik.uni-stuttgart.de>
Date: Thu, 18 May 1995 12:23:58 GMT
Lines: 12

 ortlofrd@track.informatik.uni-stuttgart.de (Roland Ortloff) wrote:
>An example sentence would be: a > 5 AND b < 3 OR c BETWEEN a AND b
>
>    is equivalent to: ((a > 5) AND (b < 3)) OR (c BETWEEN a AND b)

If you declare AND, OR and BETWEEN as operators in Prolog, the
two notations are indeed equivalent.

thom



