photonlines / Python-Prolog-Interpreter

A simple Prolog Interpreter written in a few lines of Python 3. It runs a limited subset of Prolog and uses backtracking and generators in order to perform its magic.
MIT License
238 stars 25 forks source link

Error processing prolog rules. #5

Open AI005 opened 3 years ago

AI005 commented 3 years ago

the rule: parent('Michael Jackson', 'Ala ba'). does not work, why??

ducsinhvientinhnguyen commented 3 years ago

the rule: parent('Michael Jackson', 'Ala ba'). does not work, why??

parent(Michael Jackson, Ala ba) ... and are you learning at HCMUS ? :v

AI005 commented 3 years ago

yes, bro