Closed m-n closed 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
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.