On-demand terms?

21 views
Skip to first unread message

Andy Valencia

unread,
Jun 29, 2010, 1:25:31 PM6/29/10
to pyswip
I have a HUGE amount of data in a Python app, and we're looking at
using SWI to massage subsets of it. The issue is that the data set is
to large to dump in its entirety into Prolog, so I'm hoping to find a
hook to a Python generator such that:

... :- isob(X).

Ties to:

def py_isob(X):
... generate cands ...
yield ob

And thus I can let Prolog resolution work forward to a solution while
only "spoon feeding" it with data from the Python side.

TIA for any help,
Andy Valencia
Reply all
Reply to author
Forward
0 new messages