Arity Prolog compatibility

From: Екатерина Кутовая <katekut_at_mail.ru>
Date: Sat 18 Mar 2000 11:47:56 AM GMT
Message-Id: <E12WHi0-00021b-00@f2.mail.ru>
 Please, suggest how to translate Arity Prolog's snips ([! ... !]) to
ECLiPSe?
 I mean automatic translation using written by myself Arity
compatibility package.

 Thank you!



[ Moderator's note:

This is tricky because "(" and "[" already have special meanings!
Probably the only way you can get this to parse without breaking
too many other things is to define operators for "!":

[eclipse 11]: op(950, fx, !), op(960, xf, !).
yes.
[eclipse 12]: X = ([! ab !]).
X = [! (! ab)]
yes.

Unfortunately, the result looks like a list, but maybe that's
good enough for your purpose?

Can you tell us what the meaning of this "snips" construct is?
]
Received on Mon Mar 20 11:30:10 2000

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:05 PM GMT GMT