I am a student in Computer Science, and I am learning about logic programming with PHP.
I have found an interesting Prolog interpreter, chrome_prolog (https://github.com/crcx/chrome_prolog).
To know more about PHP, I am trying to run this code with XAMPP 1.7.3, on Windows XP. But, I failed.
When I run
PrologTest.php
, they show:Fatal error: Class '**PHPUnit_Framework_TestCase**' not found in **D:\XAMPP\htdocs\PrologTest.php** on line **10**
I don't want use PHPUnit, Symfony... and other frameworks. Because, I am not good at PHP, so I do not want to use them.
Can you help me to solve error, remove framework ... to make it to be pure in PHP only? And, please explain to help me know more?
If you have found a good inference engine (whose syntax likes Prolog) which is written in pure PHP, please introduce it for me!