For Programmers: Free Programming Magazines  


Home > Archive > Prolog > April 2004 > SWI-prolog, runtime app -- how?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SWI-prolog, runtime app -- how?
Will Briggs

2004-04-13, 12:53 pm

RTFM, but I don't see how to get an executable program from
SWI-prolog. (I do see how to "save the state of the program" in a
"resource file," but not how to get an executable.)

I want to be able to give it arguments, as in "main (int argc, char*
argv[])" in C; the OS is Unix.

Does anyone have any examples or tutorials?

TIA,
Will Briggs
Cesar Rabak

2004-04-13, 2:52 pm

Will Briggs escreveu:
> RTFM, but I don't see how to get an executable program from
> SWI-prolog. (I do see how to "save the state of the program" in a
> "resource file," but not how to get an executable.)
>


Did you get a look in the section 2.10 of the manual?

In the Windows version the section 2.2 of the windows.html explains how
to use an utility 'plld' but you have to have the C development
environment (IIRC Visual Studio).

--
Cesar Rabak

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com