AI-Prolog

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

      Added a copy of the Perl Review article on logic programming.  Thanks to
      brian d for and the Perl Review for allowing me to republish this
      article.

0.733 2005-10-08
      Added POD tests (sort of)
      Added strict to AI::Prolog
      Converted to Module::Build

0.732 Sat August 6, 2005
      Added lib/AI/Prolog/Cookbook.pm to the MANIFEST (whoops)

0.73  Sat August 6, 2005
      Added AI::Prolog::Cookbook as an introduction to common problems
        encountered when working with Prolog.
      TermList->to_string now causes listings to look very similar to
        SWI-Prolog.  Much easier to read.
      Term->to_string now identifies variables by letter, not /_\d+/.
      Completed decoupling of AI::Prolog::Parser from the engine.

0.72  Sun July 31, 2005
      Move builtins to their own class, AI::Prolog::Engine::Builtins
      Non-existent predicates now issue a warning even if trace is off.
      Added new predicates:

MANIFEST  view on Meta::CPAN

examples/if_else.pl
examples/member.pl
examples/monkey.pl
examples/path.pl
examples/schedule.pl
examples/trace.pl
lib/AI/Prolog.pm
lib/AI/Prolog/Article.pod
lib/AI/Prolog/Builtins.pod
lib/AI/Prolog/ChoicePoint.pm
lib/AI/Prolog/Cookbook.pod
lib/AI/Prolog/Engine.pm
lib/AI/Prolog/Engine/Primitives.pm
lib/AI/Prolog/Introduction.pod
lib/AI/Prolog/KnowledgeBase.pm
lib/AI/Prolog/Parser.pm
lib/AI/Prolog/Parser/PreProcessor.pm
lib/AI/Prolog/Parser/PreProcessor/Math.pm
lib/AI/Prolog/Term.pm
lib/AI/Prolog/Term/Cut.pm
lib/AI/Prolog/Term/Number.pm

lib/AI/Prolog/Cookbook.pod  view on Meta::CPAN

=head1 NAME

AI::Prolog::Cookbook - Recipes for common Prolog problems

=head1 REVISION

 $Id: Cookbook.pod,v 1.1 2005/08/06 23:28:40 ovid Exp $

=head1 DESCRIPTION

Logic programming can take some time to get used to.  This document is intended
to provide solutions to common problems encountered in logic programming.  Many
of the predicates listed here will depend on other predicates defined here.  If
in doubt, see L<AI::Prolog::Builtins|AI::Prolog::Builtins> for which predicates
L<AI::Prolog|AI::Prolog> supports directly.

Like most predicates in Prolog, the following predicates can be reused in ways



( run in 0.299 second using v1.01-cache-2.11-cpan-e9199f4ba4c )