Are my Logtalk applications portable across Prolog compilers?
Yes, as long you don’t use built-in predicates or special features only available on some Prolog compilers. There is a compiler flag (portability) that you can set to instruct Logtalk to print a warning for each call in your code of non-ISO Prolog standard built-in predicates. In addition, it is advisable that you constrain, if possible, the use of platform or compiler dependent code to a small number of objects with clearly defined protocols. You may also use Logtalk support for conditional compilation to compile different entity or predicate definitions depending on the back-end Prolog compiler being used.