[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jul 12 10:05:15 2000 
Subject:Re: defining "|" as or in Poplog Prolog 
From:Jens Kilian 
Volume-ID:1000712.03 

Aaron.Sloman.XX@cs.bham.ac.uk (Aaron Sloman See text for reply address) writes:
> Some versions of prolog allow "|" as an alterantive to ";" for
> disjunction. In Poplog prolog, code written like that causes
> compile time (syntax) error.

In most Prologs, '|' is not a valid component of operator names (it is only
used as a separator in lists).  Unless you can modify the parser, you may be
out of luck.

-- 
mailto:jjk@acm.org                 phone:+49-7031-464-7698 (HP TELNET 778-7698)
  http://www.bawue.de/~jjk/          fax:+49-7031-464-7351
PGP:       06 04 1C 35 7B DC 1F 26 As the air to a bird, or the sea to a fish,
0x555DA8B5 BB A2 F0 66 77 75 E1 08 so is contempt to the contemptible. [Blake]