users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Duncan Patton a Campbell
Subject: Re: Users-prolog Digest, Vol 74, Issue 5
Date: Wed, 24 Jun 2009 16:34:34 -0600

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
address@hidden wrote:

> Send Users-prolog mailing list submissions to
>       address@hidden
> 
> 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
>       address@hidden
> 
> You can reach the person managing the list at
>       address@hidden
> 
> 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 <address@hidden>
> Subject: Re: How to Consult a Prolog File from C
> To: address@hidden
> Message-ID:
>       <address@hidden>
> 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 <address@hidden>
> 
> > 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/users-prolog
> 
> 
> End of Users-prolog Digest, Vol 74, Issue 5
> *******************************************
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]