[mercury-users] goal manipulation
Simon Taylor
stayl at cs.mu.OZ.AU
Fri Jun 20 14:33:17 AEST 2003
On 18-Jun-2003, Alan Baljeu <alanb at cornerstonemold.com> wrote:
> This is all fine for functional expressions, but my concern is with logical predicates and
> variables. I want to evaluate foo(+A,+B,-C, -D) and track the bindings given to C and D.
> What I had done in Prolog is create exactly such an interpreter, and built up a list of
> bindings for variables in the interpreted language.
>
> The language is basically a subset of Prolog and I'm hoping to find easier means of
> managing assignments.
Have you had a look at samples/interpreter.m in the Mercury distribution?
Simon.
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list