Perlog

Ovid on 2002-07-16T20:33:46

Working on a generic AI module for Perl that I will likely call AI::Perlog. I want to model Prolog in Perl, but have it more like Perl than Prolog (having a "no" returned on a failed query would be annoying, for example). You can read the details of my data structure quest to get an idea of what I'm doing.

So far, I haven't had much luck with the answers, but they've provoked a lot of thought. I was chatting with chromatic about this issue and he mentioned that it looked like a graphing solution might work out. I started doing some reading and I think that directed graphs with adjacency lists will solve my problems. Maybe...

Prolog is so simple that I thought it would be easy to model in Perl. Hah! That'll teach me. Hubris can easily be misapplied.

Also reading up about SOAP::Lite for one of our work projects. I saw a mention that SOAP::Lite can be used with Jabber. That begs the question: "why?" Everything that I read in support of using Jabber boiled down to "this is really cool". Anyone know of technical pros/cons for this?