From: Aaron Sloman
Subject: pop11 eliza online at last
Date: 
Message-ID: <amr7gq$1hi5$1@soapbox.cs.bham.ac.uk>
[Posted to comp.lang.pop, comp.lang.lisp and comp.lang.prolog]

An easily extendable mini-eliza written in Pop-11 was developed as a
demonstration forming part of an introductory AI programming course,
many years ago (around 1978) at Sussex University. Since then, it has
been used for teaching in various modified versions.

Thanks to help from colleagues who understand web scripting I have now
made a variant of this version of Eliza available on the web using
php.

You can try it here:
    http://www.cs.bham.ac.uk/research/poplog/eliza/eliza.php

The pop-11 source code is here:

    http://www.cs.bham.ac.uk/research/poplog/eliza/cgi-bin/eliza2.p

    http://www.cs.bham.ac.uk/research/poplog/lib/eliza1.p
        (about 53 kilobytes)

The eliza directory including php file and eliza2.p file are enclosed
in here
    http://www.cs.bham.ac.uk/research/poplog/eliza.tar.gz
        About 70 kbytes

This version of Eliza will not run without poplog
    http://www.cs.bham.ac.uk/research/poplog/freepoplog.html

It's a messy program first written around 1978 and extended by many
people since then. The programming style should not be taken as a model
of AI programming!

Perhaps it will be re-written one day.

Note: this version of Eliza has no memory: each interaction is
self-contained, and the occasional appearance of coherence is
purely illusory. All the rules are shuffled on every run, so
the same input can produce varied responses.

The Pop-11 pattern matcher makes writing rules very easy.

Pop-11 is available free of charge, with open source, as part of the
poplog multi-language system, including Pop-11, Prolog and Common Lisp,
from this site:

    http://www.cs.bham.ac.uk/research/poplog/freepoplog.html

There is a version of poplog packaged for PC plus Linux available
here:
    http://www.cs.bham.ac.uk/research/poplog/linux-cd/

along with a graphical toolkit, an agent toolkit, a vision
toolkit, and emacs conversion package for poplog.

A 20 Mbyte tar file can be downloaded to replicate the Poplog
configuration used at the University of Birmingham for teaching
and research:

    http://www.cs.bham.ac.uk/research/poplog/bham-linux-poplog.tar.gz
    Instructions are included, and start with this file:
    http://www.cs.bham.ac.uk/research/poplog/linux-cd/AREADME.txt

    The tar file is configured to go on a CD for AI students at
    Birmingham. It has been tested on various versions of Linux
    including RedHat 7.1, 7.2, 7.3, and Mandrake 8.2, but should
    work on others.

It runs on a variety of unix/linux platforms and on windows, but at
present the windows version has no graphics

[Poplog was used on Windows NT with an X window emulation package in the
very successful Clementine data-mining system, developed by ISL and now
owned by www.spss.com. See
    http://www.spss.com/spssbi/clementine/
Perhaps one day someone will make it work on windows without requiring
a commercial package to support the graphics.]

There's an online introduction to Pop-11 (a language similar in power to
Common Lisp, but with a more "familiar" syntax) here:
    http://www.cs.bham.ac.uk/research/poplog/primer/primer.html

Comments, questions, suggestions, offers to work on Poplog may be
communicated to the comp.lang.pop news group.

Aaron
===
====
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk   (········@please !)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/ (And free book on Philosophy of AI)
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html

From: Aaron Sloman
Subject: Re: pop11 eliza online at last (correction)
Date: 
Message-ID: <amrtec$1i7t$1@soapbox.cs.bham.ac.uk>
In my previous message

this
>     http://www.cs.bham.ac.uk/research/poplog/lib/eliza1.p
>         (about 53 kilobytes)
should have been

     http://www.cs.bham.ac.uk/research/poplog/lib/eliza2.p
         (about 53 kilobytes)

This

> The eliza directory including php file and eliza2.p file are enclosed
> in here
>     http://www.cs.bham.ac.uk/research/poplog/eliza.tar.gz
>         About 70 kbytes

should have been
>         About 19 kbytes

comes of working too late.

Aaron
====
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk   (········@please !)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/ (And free book on Philosophy of AI)
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html
From: Donald Fisk
Subject: Re: pop11 eliza online at last
Date: 
Message-ID: <3D924C4D.8FBE2D90@enterprise.net>
Aaron Sloman wrote:
> 
> [Posted to comp.lang.pop, comp.lang.lisp and comp.lang.prolog]
> 
> An easily extendable mini-eliza written in Pop-11 was developed as a
> demonstration forming part of an introductory AI programming course,
> many years ago (around 1978) at Sussex University. Since then, it has
> been used for teaching in various modified versions.
> 
> Thanks to help from colleagues who understand web scripting I have now
> made a variant of this version of Eliza available on the web using
> php.

Cool.   It was originally written in Pop11 IIRC.   Why not do the
scripting in pop11, Lisp or Prolog rather than PHP?

And are we to see Stroppy soon as well?

WELL? 

BTW when we received Poplog in 1983, we decided that Stroppy's
insults were too mild and spiced them up.   We replaced "Terry
Wogan fan" by "Richard Clayderman groupie", for example.   Most
of the other replacements were too rude to print here.

> Aaron

Le Hibou
-- 
Dalinian: Lisp. Java. Which one sounds sexier?
RevAaron: Definitely Lisp. Lisp conjures up images of hippy coders,
drugs,
sex, and rock & roll. Late nights at Berkeley, coding in Lisp fueled by
LSD.
Java evokes a vision of a stereotypical nerd, with no life or social
skills.
From: Jonathan L Cunningham
Subject: Re: pop11 eliza online at last
Date: 
Message-ID: <3d948b59.5085028@News.CIS.DFN.DE>
On Thu, 26 Sep 2002 00:52:45 +0100, Donald Fisk
<················@enterprise.net> said:

>Aaron Sloman wrote:
>> 
>> [Posted to comp.lang.pop, comp.lang.lisp and comp.lang.prolog]
>> 
>> An easily extendable mini-eliza written in Pop-11 was developed as a
>> demonstration forming part of an introductory AI programming course,
>> many years ago (around 1978) at Sussex University. Since then, it has
>> been used for teaching in various modified versions.
>> 
>> Thanks to help from colleagues who understand web scripting I have now
>> made a variant of this version of Eliza available on the web using
>> php.
>
>Cool.   It was originally written in Pop11 IIRC.   Why not do the
>scripting in pop11, Lisp or Prolog rather than PHP?

Good question. That's why I'm doing a "rival" version, that does do
the scripting in pop11. In fact, it's overdue, as I was going to
finish it last weekend. But life intervened. Maybe this weekend.

[Aaron]
>Note: this version of Eliza has no memory: each interaction is
>self-contained, and the occasional appearance of coherence is

My version will have a (limited) memory. (Using hidden fields
in a form, rather than maintaining state on the server.)

>And are we to see Stroppy soon as well?
>
>WELL? 
>
>BTW when we received Poplog in 1983, we decided that Stroppy's
>insults were too mild and spiced them up.   We replaced "Terry
>Wogan fan" by "Richard Clayderman groupie", for example.   Most

That's horrible.

>of the other replacements were too rude to print here.

;-).

Jonathan

-- 
Jonathan Cunningham