home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!kronos.arc.nasa.gov!kepler.arc.nasa.gov!philpot
- From: philpot@kepler.arc.nasa.gov (Andrew Philpot)
- Subject: *READ-SUPPRESS* and #P syntax
- Message-ID: <1992Nov11.014902.6585@kronos.arc.nasa.gov>
- Sender: usenet@kronos.arc.nasa.gov (Will Edgington, wedgingt@ptolemy.arc.nasa.gov)
- Nntp-Posting-Host: kepler.arc.nasa.gov
- Organization: NASA/ARC Information Sciences Division
- Date: Wed, 11 Nov 1992 01:49:02 GMT
- Lines: 37
-
- Should *READ-SUPPRESS* be obeyed when reading literal pathnames using
- #P?
-
- Siutation: My code was trying to read in some files which contain
- references to pathnames using the #P syntax. Lucid and Franz have
- different syntaxes for the object following the #P. Lucid allows only
- a string, whereas Franz supports both strings and lists in this
- position. Lucid signals an error when given an expression of the form
- #P followed by a list, since that violates its #P reader.
-
- So far, so good. However, in (lucid) lcl4.1b, you can't avoid
- signaling this error when reading a Franz-derived #P pathname.
- Putting a #-LUCID or #+EXCL qualifier in front of the form doesn't
- seem to work; it reads enough to signal the error anyway.
-
- One would imagine that the intent of using READ-SUPPRESS to implement
- the *FEATURES* idea was to avoid signaling errors associated with just
- this kind of implementation-specific extension.
-
- However, strictly speaking, this behavior is allowed by pp. 522 ff. of
- CLtL2. It appears that the appropriate section of the new dpAns spec
- agrees with CLtl2 in this matter. I couldn't swear I got to the right
- section, but there was one in dict-reader.tex that mirrored 22.1.2
- pretty well, and I didn't find any reference to #P there.
-
- Is it the intent of dpAns that
-
- (defvar my-path
- #+EXCL #P(:type "lisp")
- #+LUCID #P".lisp"
- )
-
- can cause an error?
-
- --
- ---------------------------------------------------------------
- philpot@ptolemy.arc.nasa.gov
-