[eclipse-clp-users] Calling predicates from a module using Java

From: Wit Jakuczun <wit.jakuczun_at_...6...>
Date: Tue, 27 May 2008 22:47:37 +0200
   I have a question regarding Java to ECLiPSe interface.
I have a prolog program that consists of a few modules.
I would like to be able to call a predicate from a module.
For this I tried such code:
	CompoundTerm ret = engine.rpc( 				
		new CompoundTermImpl(":",

Unfortunately it does not work. I get the following error:
    type error in type error in is_a_module("problem")

Of course earlier I have apriopriate

Moreover I can call a predicate from a module using C interface.

I would be grateful for any explanation.

Best regards
[ Wit Jakuczun w.jakuczun_at_...116... ]
[ WLOG Solutions http://wlogsolutions.com   ]
Received on Tue May 27 2008 - 13:47:42 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 21 2019 - 09:13:31 CEST