So, I recently wrote AI::Proplog, a propositional logic engine for Perl. And all day yesterday, I began to ruminate over writing the engines for predicate and functional logic because I realized that neither engine is any more powerful or expressive than a bunch of objects which have conditional code within them.

So, I began to contemplate writing a paper called AI::Prolog::DontBother and kept reading on AI. Then I realized that what was really needed was a rules-based system that was flexible enough to accomodate the way that Perl did things.

It turns out that two people have already done bindings for a very popular and well-established rules-system, called CLIPS

  • PerlClips - SWIG'ed for 5.005 though
  • CAPE This is a "programming world" in which Perl and CLIPS talk to each other, share data and synchronize data, mainly via sockets.

    In reply to Expert Systems in Perl : (kywd: Rules-based Perl) by princepawn

    Title:
    Use:  <p> text here (a paragraph) </p>
    and:  <code> code here </code>
    to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.