Re: What does this error mean in clisp?
"Yves S. Garret" <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <CAJ=2b07+PFja0vHkf6H0-KxnKXLPy-dZHXU4Dsto=vDtGFPf-A@mail.gmail.com> |
Oh, I didn't know that link even existed. Thanks for letting me know! On Sun, Apr 15, 2012 at 10:11 PM, Sam Steingold <[email protected]> wrote: > observe this note in the beginning of your paste: > > --8<---------------cut here---------------start------------->8--- > Type :h and hit Enter for context help. > --8<---------------cut here---------------end--------------->8--- > > I added it many years ago in the hope that it would be useful, but, > apparently, it is not. > > Now, > > --8<---------------cut here---------------start------------->8--- > [7]> (expt 4 20)) > 1099511627776 > [8]> > *** - READ from #<INPUT CONCATENATED-STREAM #<INPUT STRING-INPUT-STREAM> > #<IO TERMINAL-STREAM>>: an object cannot start with #\) > --8<---------------cut here---------------end--------------->8--- > > so you typed 2 closing parens instead of one and clisp is telling you > just that. > clisp keeps reading your input, it is not limited to one form per line, > e.g.: > > --8<---------------cut here---------------start------------->8--- > [1]> (1+ 1) (! 10) > 2 > [2]> > 3628800 > [3]> > --8<---------------cut here---------------end--------------->8--- > > so when it is done reading (expt 4 20), it reads ) and tells you that > it's not okay. > > now, if you want to know how to debug an error or get out of the error > prompts, you should either follow the first message you got from clisp > (see above, i.e., type :h RET) or, better yet, RTFM > (http://clisp.org/impnotes/repl.html). > > > -- > Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X > 11.0.11004000 > http://www.childpsy.net/ http://www.PetitionOnline.com/tap12009/ > http://openvotingconsortium.org http://memri.org http://mideasttruth.com > UNIX is as friendly to you as you are to it. Windows is hostile no matter > what. > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel