Is there a way to impliment non-determ predicates in foreign languages?
I imagine it would need some way of informing the foreign languages of Initial call, Redo call and Terminate call; or similar.
- Thomas Linder Puls
- VIP Member
- Posts: 1464
- Joined: 28 Feb 2000 0:01
Re: Non-determ predicates implimented in foreign code
No, that is not supported. Backtracking is done in a rather unique way, that requires a lot of "low-level" activity.
We do not invoke a "redo call", we read certain values in a backtrack point "record" and set various processor registers (Instruction pointer, stack top, frame pointer) and that obviously only makes sense if everything is low-level prepared for exactly that.
We do not invoke a "redo call", we read certain values in a backtrack point "record" and set various processor registers (Instruction pointer, stack top, frame pointer) and that obviously only makes sense if everything is low-level prepared for exactly that.
Regards Thomas Linder Puls
PDC
PDC