Hi! I'm new to Common Lisp, and am trying to compile the code located at:
Unable to parse email body. Email id is 6148
Unable to parse email body. Email id is 6148
"Glenn M. Lewis" <glenn@hometot.com> writes: > Hi! I'm new to Common Lisp, and am trying to compile the code located at: > http://hampshire.edu/~lasCCS/courses/koza-gp.lisp > > I'm can't seem to figure out how to get it compiled with your > compiler. I didn't look at the code, but if you post a more specific error message from the LispWorks compiler I can try and walk you through it. Something like "when compiling file X, I got compiler error E" would be helpful. Cheers, Chris Dean
I downloaded the file you linked to, and I got no errors in compiling and loading it. (I opened the file in an editor, selected file->compile and load.) The error you're getting, though, is about end of file while reading stream. Have you edited the file at all since you downloaded it? I'd suggest re-downloading it and trying to compile again. On 11/13/06, Glenn M. Lewis <glenn@hometot.com> wrote: > > The error I get from LispWorks Personal Edition is: > > CL-USER 1 > (load "c:/tmp/koza-book-gp-implementation.lisp") > ; Loading text file c:\tmp\koza-book-gp-implementation.lisp > Warning: SORT-POPULATION-BY-FITNESS defined more than once in > c:\tmp\koza-book-gp-implementation.lisp. > Warning: No implementation-specific version of fast-eval has been written. > Please write your own using the examples provided. > Error: End of file while reading stream #<STREAM::LATIN-1-FILE-STREAM > c:\tmp\koza-book-gp-implementation.lisp>. > 1 (continue) Try loading c:/tmp/koza-book-gp-implementation.lisp again. > 2 Give up loading c:/tmp/koza-book-gp-implementation.lisp. > 3 Try loading another file instead of > c:/tmp/koza-book-gp-implementation.lisp. > 4 (abort) Return to level 0. > 5 Return to top loop level 0. > > Type :b for backtrace, :c <option number> to proceed, or :? for other > options > > -- Glenn > > > Chris Dean wrote: > "Glenn M. Lewis" <glenn@hometot.com> writes: > > > Hi! I'm new to Common Lisp, and am trying to compile the code located at: > http://hampshire.edu/~lasCCS/courses/koza-gp.lisp > > I'm can't seem to figure out how to get it compiled with your > compiler. > > I didn't look at the code, but if you post a more specific error > message from the LispWorks compiler I can try and walk you through it. > > Something like "when compiling file X, I got compiler error E" would > be helpful. > > Cheers, > Chris Dean > > > > > -- ===================== Joshua Taylor tayloj@rpi.edu "A lot of good things went down one time, back in the goodle days." John Hartford