You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to access intermediate steps from python to display execution trace like in swi-prolog, though i will have to make additional PRs since there are too many RunnerState and i have hard time finding important steps of interest e.g. backtracking
call here is the same as in metta, it will try to unify variable, Exit means successful unification _5772=1
then the inference engine tries memb(A=1, [2,3]) and fails
"Redo: (11) memb(_5772, [1, 2]) ? creep" is backtracking to previously tried variant A=1
From here: #469 (comment)
@noskill wrote:
trace:
It's not perfect representation, but it easier to read than RunnerState, for example
call here is the same as in metta, it will try to unify variable, Exit means successful unification _5772=1
then the inference engine tries memb(A=1, [2,3]) and fails
"Redo: (11) memb(_5772, [1, 2]) ? creep" is backtracking to previously tried variant A=1
The same program in metta
The text was updated successfully, but these errors were encountered: