Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion a golden oldie challenge: Eliza
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Mark Tarver  
View profile   Translate to Translated (View Original)
 More options 22 Feb 2008, 11:49
Newsgroups: comp.lang.lisp, comp.lang.functional
From: Mark Tarver <dr.mtar...@ukonline.co.uk>
Date: Fri, 22 Feb 2008 03:49:44 -0800 (PST)
Local: Fri 22 Feb 2008 11:49
Subject: a golden oldie challenge: Eliza
Having got 3936 LOC through a 4000 LOC implementation, I thought I'd
do some recreational
hacking and do an old old program I've not looked at for some time -
Eliza.   You all know Eliza well enough for me not to have to spell it
out.  The challenge is to implement or dig up an Eliza program (you
don't have to write it yourself) in your favourite FPL.  Note that the
script that drives Eliza's responses should not be counted towards the
LOC count.  Some constraints.

1.  The script itself should be changeable by any novice.  That is to
say that it should not
     be a pile of hard-wired code written in the native language of
the program or require
     deep programming skills.

2.  The program should receive keyboard input from the user -
including the usual punctuation
     and any characters he wants to enter without crashing.

During the Harrop Wars on comp.lang.lisp a lot of stuff was thrown
around about the desirability of pattern matching.  The challenge is
interesting because it involves a style of pattern-matching called
'segment pattern matching' that is not hard-wired into most FPLs and
I'd like to see how well different FPLs cope with something outside
the standard.

Oh last thing; don't get too uptight about this.  It's only a bit of
fun.

Mark


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google