Re: Users-prolog Digest, Vol 74, Issue 5

Duncan Patton a Campbell <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Organization NeoText
Message-ID <[email protected]>
I'm not sure what you intend to do by
consulting prolog source from "c".  

"Consulting" is a concept specific to Prolog,
so you have to invoke the prolog engine from
c to start with.  Once you have accomplished
this there should be no problem except that 
you are now in prolog, not c.  

Dhu


On Wed, 24 Jun 2009 12:01:22 -0400
[email protected] wrote:

> Send Users-prolog mailing list submissions to
> 	[email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.gnu.org/mailman/listinfo/users-prolog
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
> 
> You can reach the person managing the list at
> 	[email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users-prolog digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: How to Consult a Prolog File from C (Idomeneo)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 23 Jun 2009 18:57:21 +0200
> From: Idomeneo <[email protected]>
> Subject: Re: How to Consult a Prolog File from C
> To: [email protected]
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> No idea at all?
> Please help me I'd like to know if it is possible or not. :-)
> Yuri Campilii
> 
> 2009/5/28 Idomeneo <[email protected]>
> 
> > Hello to everyone,
> > I'm using Gprolog 1.3.1 and gcc 4.3. 3, on Arch Linux (32-bit), and I was
> > wondering if there is a simple way to consult a Prolog source from a C
> > source.This would be very nice to me because, in such way, I'll be able to
> > avoid linking-compilation (with gcc) any time I want to modify something
> > exclusevely on my Prolog source. I tried using consult just with
> > Pl_Query_Call, before any other Pl_Query_Call, but it doesn't seem to work
> > correctly.
> > +
> > Any suggestion would be greatly appreciated, thanks.
> > Yuri Campilii
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.gnu.org/pipermail/users-prolog/attachments/20090623/763b805d/attachment.html
> 
> ------------------------------
> 
> _______________________________________________
> Users-prolog mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/users-prolog
> 
> 
> End of Users-prolog Digest, Vol 74, Issue 5
> *******************************************
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.