Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

AI in Perl - proof of concept

by Ovid (Cardinal)
on Jul 12, 2002 at 18:40 UTC ( #181368=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    owns( merlyn, gold ).
    owns( ovid, pocketLint ).
    ...
    steals_from( X, Y ) :-
      thief( X ),
      rich( Y ).
    
  2. or download this
    badguy will steal from merlyn
    badguy will not steal from ovid
    badguy will steal from kudra
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
      }
      return \@rule;
    }
    
  4. or download this
    (?(?{attack $q [3], $q [4]})x|)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://181368]
Approved by VSarkiss
Front-paged by cjf
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2019-07-21 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (7 votes). Check out past polls.

    Notices?