Re: gprolog blows on OSX with segmentation violation (bad address: 0x0)

Paulo Moura <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
On 21/11/2013, at 09:42, emacstheviking <[email protected]> wrote:

> Daniel,
> 
> Thanks as always. I will rebuild my version tonight.
> 
> A while back I was playing with dlload() et al. and you mentioned that there was some work in progress (?) about having a module loading system...is that still the case or is there just not enough time in the day for such things?

You can write Prolog module code today using Logtalk. Supported module directives include module/2, use_module/2, export/1, and reexport/2. But you will need to use .lgt instead of .pl as the filename extension and Logtalk's compiling and loading predicates. You can later change the extension back when Daniel releases a GNU Prolog version with modules support.

Cheers,

Paulo

-----------------------------------------------------------------
Paulo Moura
Logtalk developer

Email: <mailto:[email protected]>
Web:   <http://logtalk.org/>
-----------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.