From rhoekstr@wins.uva.nl  Fri Jun 30 17:42:40 2000
Received: from paulus.lri.jur.uva.nl (paulus.lri.jur.uva.nl [145.18.104.201])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id RAA21893
	for <prolog@swi.psy.uva.nl>; Fri, 30 Jun 2000 17:42:40 +0200 (MET DST)
Received: from REIN (rein [145.18.104.211])
	by paulus.lri.jur.uva.nl (8.10.2/8.10.2) with SMTP id e5UFhaE07448
	for <prolog@swi.psy.uva.nl>; Fri, 30 Jun 2000 17:43:36 +0200 (MET DST)
From: "Rinke Hoekstra" <rhoekstr@wins.uva.nl>
To: "Prolog Mailing List" <prolog@swi.psy.uva.nl>
Subject: Re: atom_to_term
Date: Fri, 30 Jun 2000 17:42:54 +0200
Message-ID: <PLEOINJCJDFINLIJDJBMOEOECBAA.rhoekstr@wins.uva.nl>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Importance: Normal

Hi Andreas,

Fiddling about with Prolog for a bit resulted in the following:


?- atom_to_term('(s(np(I),vp(verb(go),np(home))))',X,['I'=I]).

X = s(np(_G487), vp(verb(go), np(home)))
I = _G487 
Yes
?-

Is this what you wanted?

Regards,

    Rinke Hoekstra

========================================
Rinke J. Hoekstra
Dept. of Computer Science and Law
University of Amsterdam, The Netherlands
rinke@lri.jur.uva.nl
========================================

