jeffshrager / elizagen.org

Genealogy of Elizas
250 stars 34 forks source link

1972 Eliza First Working Version #8

Closed m-n closed 10 years ago

m-n commented 10 years ago

Well, I wanted to try out a couple of reader hacks and I ended up with a running version of the eliza 1972 code:) I did see the Python script you wrote for replacing the superparen [] with regular parens -- whether or not you decide to merge the section of this patch implementing [], I think the other changes will be useful.

This merges the cleanups from the .translation file into the 1972 section of the .lisp file, implements the missing 1972 bbn functions (although I'm not sure if I have GET and NLISTP correct), and sets things up so that a call to (e72:doctor) or (e69:doctor) runs the correct Eliza. Those calls work correctly regardless of the current package. Autostart is still running the 1969 code.

jeffshrager commented 10 years ago

Major work! I made this master (I think -- I can never f'ing tell with gh whether I'm doing the right thing!)

----- Original Message -----

Well, I wanted to try out a couple of reader hacks and I ended up with a running version of the eliza 1972 code:) I did see the Python script you wrote for replacing the superparen [] with regular parens -- whether or not you decide to merge the section of this patch implementing [], I think the other changes will be useful.

This merges the cleanups from the .translation file into the 1972 section of the .lisp file, implements the missing 1972 bbn functions (although I'm not sure if I have GET and NLISTP correct), and sets things up so that a call to (e72:doctor) or (e69:doctor) runs the correct Eliza. Those calls work correctly regardless of the current package. Autostart is still running the 1969 code. You can merge this Pull Request by running:

git pull https://github.com/jeffshrager/elizagen 1972

Or you can view, comment on it, or merge it online at:

https://github.com/jeffshrager/elizagen/pull/8

-- Commit Summary --

  • Introduce the BBN [ read macro
  • Eliza 1972 loads

-- File Changes --

M coselleliza1969and1972.lisp (632)

-- Patch Links --

https://github.com/jeffshrager/elizagen/pull/8.patch https://github.com/jeffshrager/elizagen/pull/8.diff