[eclipse-clp-users] Java-ECLIPSE Interface

From: Dott. Anselmi Biagio <soei85_at_...231...>
Date: Thu, 11 Mar 2010 23:16:00 +0100
Hi, can I ask you one thing? I have this problem :

If I have a .pl file  with this  prolog  code :

lunghezza(0,[]).
lunghezza(N,[_|L] :- lunghezza(N1,L), N is N1+1.

How can i pass by java this query :

?-lunghezza(X,[a,b,c]).

and how can i print result on the console java?

Thanks for your answering.

Best regards.
Received on Thu Mar 11 2010 - 22:16:10 CET

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:29 CEST