Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: AI::Perlog -- Simple implementation

by mitd (Curate)
on Jul 31, 2002 at 07:12 UTC ( #186442=note: print w/replies, xml ) Need Help??


in reply to AI::Perlog -- Simple implementation

Finally, after watching this latest Ovid work of the devil unfold for the last few weeks, I went searching the mitd library for my copy of Sterling and Shapio's 'The Art of Prolog' (MIT Press, 1986) which BTW I was reminded has one the most esthetically pleasing covers of any technical book in my collection.

Anyway, I was thinking that as AI:Perlog matures it might be fun to implement a few of the examples from 'The Art'.

Go! Go! Ovid Perl meets Logic programming, evil ... pure evil.

mitd-Made in the Dark
'Interactive! Paper tape is interactive!
If you don't believe me I can show you my paper cut scars!'

  • Comment on Re: AI::Perlog -- Simple implementation

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://186442]
help
Chatterbox?
[Lady_Aleena]: Hello everyone. I'm having a blonde moment. I can push an array to an array, right? push @to_array, @another_array;
[shmem]: of course
[shmem]: the members of @another_array are conflated to @array
[shmem]: try it out:
[Lady_Aleena]: shmem, thanks. I'm am way out of practice.
[shmem]: perl -lE '@foo = (0..3);@bar = (4..7); push @foo,@bar; say for @foo'
[Lady_Aleena]: shmem, I feel like an idiot for forgetting something so basic.
shmem puts a big cauldron of "silly con charme" on the table in the refectorium

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-04-27 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (503 votes). Check out past polls.