Logtalk compatibility with GNU Prolog

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

Moderator: Paulo Moura

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

Logtalk compatibility with GNU Prolog

Post by Paulo Moura » Mon May 10, 2010 11:09 am

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: 475
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: Logtalk compatibility with GNU Prolog

Post by Paulo Moura » Thu Jul 08, 2010 4:33 pm

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 » Sun Aug 22, 2010 10:06 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest