Subject: Re: Hel needed with first ever LISP homework?
From: Erik Naggum <erik@naggum.no>
Date: 1997/01/21
Newsgroups: comp.lang.lisp
Message-ID: <3062850735931065@naggum.no>


* Thomas C. Wilson
| USER(1): :ld pr2a.txt
| ; Loading /user4/tomwil/pr2a.txt.
| Error: eof encountered on stream
|        #<EXCL::CHARACTER-INPUT-FILE-STREAM "/user4/tomwil/pr2a.txt" pos
| 520 @
|          #x106788f2>
|   [condition type: END-OF-FILE]
| 
| Restart actions (select using :continue):
|  0: retry the load of pr2a.txt
| [1] USER(2):
| 
| Any relevant suggestions welcome.
| Thanks sooo much if you read this far. (can you help?)

you're obviously using Allegro Common Lisp from Franz.  you should not be
using Allegro from the command line, but from the very good Emacs interface
supplied by Franz.  you start up Allegro under Emacs with the command M-x
fi:common-lisp RET, and answer the questions.  if you are not familiar with
Emacs, your instructor failed to make that a prerequisite for the course.

set the Emacs variable fi:check-unbalanced-parentheses-when-saving to t,
and visit the file.  make a trivial change, then save it.  fix the problem
that Emacs complains about, then save again.

by the way, Lisp files should end in .cl or .lisp or .lsp.  that way, Emacs
and the Franz Inc (fi) package will detect that you have Lisp code and do
the right thing.

good luck.

#\Erik
-- 
1,3,7-trimethylxanthine -- a basic ingredient in quality software.