Skip to content
Snippets Groups Projects
Commit 527266cd authored by rtoy's avatar rtoy
Browse files

Add an extension to allow printing pathnames using the syntax

#P(<make-pathname args).  So most pathnames can be printed readably,
even if they have weird components.  But we don't handle search-lists
and patterns very well because we don't have readable syntax for
those.

code/sharpm.lisp:
o Make the #P reader accept lists and apply make-pathname on them to
  create the pathname

code/pathname.lisp:
o If a pathname has no namestring, then try to print out the pathname
  object using #P(foo) syntax, if possible.  If not possible, just
  print out the pathname unreadably, as we used to.
o Put some conditional newlines when printing out unprintable
  pathnames so it wraps a bit better.  (Needs work.)
parent 3a8dc700
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment