[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quintus to Gnu Prolog conversion
From: |
Thierry Martinez |
Subject: |
Re: Quintus to Gnu Prolog conversion |
Date: |
Wed, 23 Apr 2008 17:44:18 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Pauline Kra:
> chkforpuncttag(W,_) :-
> member(W,['/','<','>','-','[','{','_','+','=','|','\','?']),!.
You should replace '\' by '\\'. (In GNU Prolog, "\" introduces an
escape sequence.)
> number(X), number(Y), Z = '+', !. % Y belongs to '+' for new sentence
You should replace '+' by ('+'). (The parser of GNU Prolog is happier
when atoms which match operator names are bracketed.)
> Z \= '+', % break up "140. 3+"
You should replace '+' by ('+').
--
Thierry.
- Quintus to Gnu Prolog conversion, Pauline Kra, 2008/04/23
- Re: Quintus to Gnu Prolog conversion,
Thierry Martinez <=
- Message not available
- Re: Quintus to Gnu Prolog conversion, Thierry Martinez, 2008/04/24
- Re: Quintus to Gnu Prolog conversion, pauline . kra, 2008/04/28
- Re: Quintus to Gnu Prolog conversion, Thierry Martinez, 2008/04/28
- Re: Quintus to Gnu Prolog conversion, pauline . kra, 2008/04/28
- Re: Quintus to Gnu Prolog conversion, Thierry Martinez, 2008/04/29
- Re: Quintus to Gnu Prolog conversion, pauline . kra, 2008/04/30
- Re: Quintus to Gnu Prolog conversion, pauline . kra, 2008/04/28
Re: Quintus to Gnu Prolog conversion, Sylvain Soliman, 2008/04/23