From lains@caramail.com  Mon Jul 31 11:41:26 2000
Received: from mail.caramail.com (mail.caramail.com [195.68.99.70])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id LAA24350
	for <prolog@swi.psy.uva.nl>; Mon, 31 Jul 2000 11:41:20 +0200 (MET DST)
Received: from caramail.com (www19.caramail.com [195.68.99.39])
	by mail.caramail.com (8.8.8/8.8.8) with SMTP id LAA28633
	for prolog@swi.psy.uva.nl; Mon, 31 Jul 2000 11:47:47 +0100 (WET DST)
Date: Mon, 31 Jul 2000 11:47:47 +0100 (WET DST)
Posted-Date: Mon, 31 Jul 2000 11:47:47 +0100 (WET DST)
From: Lionel Ains <lains@caramail.com>
To: prolog@swi.psy.uva.nl
Message-ID: <965040088026522@caramail.com>
X-Mailer: Caramail - www.caramail.com
Mime-Version: 1.0
Subject: Linking SWI-Prolog with Link Grammar Parser v3.0
Content-Type: multipart/mixed; boundary="=_NextPart_Caramail_026522965040088_ID"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--=_NextPart_Caramail_026522965040088_ID
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I am trying to interface SWI-Prolog with the API of Link Grammar Parser 3.0, a freeware parsing 
grammar in english sentences.
The API is programmed in C and I should then just have to use it in a foreign code linked with 
the Prolog engine.
I have a few question concerning this operation:
- Do I have to recompile the whole Prolog engine each time I make a modification inside the foreign 
language code?
- Which C compiler should I use to compile Prolog and the API, undex Windows NT?
- Given that I would just like to register new foreign predicates, which part of the existing SWI-Prolog 
source code do I have to modify to add the new predicates (which will use the Link Grammar Parser 
API) to the list of built-in predicates?

Many thanks for this help,

Lionel
______________________________________________________
Bo=EEte aux lettres - Caramail - http://www.caramail.com


--=_NextPart_Caramail_026522965040088_ID--

