Logtalk compatibility with GNU Prolog

Tips and tricks when running Logtalk using GNU Prolog as the back-end compiler

Moderator: Paulo Moura

Locked
Paulo Moura
Logtalk developer
Posts: 533
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Logtalk compatibility with GNU Prolog

Post by Paulo Moura »

Current Logtalk versions (2.39.0 or later) require that the back-end Prolog compiler implements the ISO Prolog standard specified multifile/1 directive. This directive is being implemented in GNU Prolog. Meanwhile, in order to use GNU Prolog with Logtalk, you will need to use Logtalk version 2.38.2.
Paulo Moura
Logtalk developer

Paulo Moura
Logtalk developer
Posts: 533
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: Logtalk compatibility with GNU Prolog

Post by Paulo Moura »

GNU Prolog 1.4.0, currently in beta, implements the multifile/1 predicate directive necessary for Logtalk compatibility. Logtalk 2.40.1 restores compatibility with with this Prolog compiler.
Paulo Moura
Logtalk developer

Jaetan
Posts: 13
Joined: Thu Apr 09, 2009 11:35 am
Location: Tōkyō, Japan

Re: Logtalk compatibility with GNU Prolog

Post by Jaetan »

Thank you, Paulo :D

GNU Prolog is my compiler of choice when generating self-contained executables. Since it has no support for modules, I find Logtalk is very much needed when developing with GNU Prolog. The decision to drop support for it, while understandable, scared me (and maybe a few others too).

Regards,

--
Jaetan

Locked