On 01/02/2014, at 12:27, Algaba <[email protected]> wrote:

> has anyone managed to get Grips (http://www.j-paine.org/dobbs/grips.html      
> ) working ?

Out of curiosity, I took a look to the Grips source code and used Logtalk 
ability to compile Prolog module code to learn about possible portability 
issues. The code uses some SWI-Prolog features, which makes porting difficult. 
It uses a back quote as an operator, which is problematic. As an example, the 
code only compiles with SWI-Prolog V7 using the --traditional command-line 
flag. It declares operators in the pseudo-module "user" that SWI-Prolog makes 
available through a kind of inheritance mechanism to the module that contains 
the op/3 directives. A bigger issue is the use of module_transparent/1 
directives, which cannot be simply replaced by more meta_predicate/1 
directives. Thus, porting is not trivial.

Cheers,

Paulo

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

Email: <mailto:[email protected]>
Web:   <http://logtalk.org/>
-----------------------------------------------------------------





_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog

Reply via email to