Replies: 1 comment 8 replies
-
Note that Logtalk doesn't support a https://logtalk.org/manuals/refman/directives/use_module_2.html True, there's code in some of the Prolog adapter files, including the one for SWI-Prolog, that try to expand Prolog https://logtalk.org/manuals/userman/predicates.html#calling-prolog-module-meta-predicates An alternative solution would to use Logtalk's own https://logtalk.org/manuals/libraries/options.html As this library is fully portable, that would be the best solution. For debugging support, the Logtalk https://logtalk.org/manuals/devtools/debug_messages.html You get an error in that |
Beta Was this translation helpful? Give feedback.
-
Hi all,
at the moment I'm porting SWI Prolog code to a Logtalk object. Backend is SWI Prolog 8.3.22
In the source file in Logtalk, the line
:- use_module(library(option)).
results in error message
It is only with library(option), other libraries work as always.
Independently from this, the line
:- debug(xmpp).
results in
For the first case, I've read somethin in the SWI Group that there may be a problem with use_module/1 in some cases, but I've not understand the discussion
For the second case, I've no idea.
Can someone help me?
(BTW: there is nearly no code, I've just at the step setting up the file structure, containg of a loader file, a Power shell script for compliation and the source file itself. :) )
Beta Was this translation helpful? Give feedback.
All reactions