Re: Compie prolog programs
From: Brian Hulley (brianh_at_metamilk.com)
Date: 03/01/05
- Next message: Jens Kilian: "Re: List cons functor (was Re: The meaning of module overriding syntax mod:goal in different Prologs)"
- Previous message: Joachim Schimpf: "Re: List cons functor (was Re: The meaning of module overriding syntax mod:goal in different Prologs)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 1 Mar 2005 08:27:23 -0800
Matteo wrote:
> I've done a simple while-like parser in swi-prolog and i would to
> compile it to run in machines that don't have installed any prolog...
>
> Is this possible with swi-prolog ?
If you download the manual from SWI-Prolog's website,
http://www.swi-prolog.org and look at Chapter 10 there are instructions
for creating a stand alone executable using qsave_program/2
The executable consists of compiled byte code + the runtime
concatenated into one file.
If you want compilation to native machine code as in a C compiler, you
might like to try GNU Prolog, although GNU Prolog does not (the last
time I looked at its website) allow you to use assert/retract etc in
the compiled code.
- Next message: Jens Kilian: "Re: List cons functor (was Re: The meaning of module overriding syntax mod:goal in different Prologs)"
- Previous message: Joachim Schimpf: "Re: List cons functor (was Re: The meaning of module overriding syntax mod:goal in different Prologs)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|