|P is for Practical
AI::Perlog -- Simple implementationby Ovid (Cardinal)
|on Jul 30, 2002 at 20:15 UTC
There has been a bit of interest expressed in my AI::Perlog implementation, including requests for what code I have written so far. While I do not intend to upload anything to the CPAN as I consider this code to be pre-alpha quality, I figured I may as well honor the request and let you download the code. The documentation is spotty, but the tests pass and the should give an indication of what's working and what's not. Currently, the only thing I have implemented is boolean queries on facts.
Needless to say, it's just a toy right now, but I hope to have the first stab at unification done later this week, at which point this might actually have some limited utility. Currently, the code generates a spurious warning under Cygwin, but runs clean on Windows 2000 and RH 7.2 (both running 5.6.1).
Update: You can read about some of the future plans at use.perl.
Update 2: Also be aware that this beast eats memory for breakfast. If anyone can come up with a less memory intestive solution that doesn't sacrifice performance, that would be great. Also, I intend to eventually port much of this to Inline::C, so the simpler the data structures, the better.
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.