Reading qualified symbols
问题 I'm working on a code formatter for Lisp, which is using the reader to read code into S-expression format. This works fine for plain symbols. It doesn't work so well for qualified symbols. foo:bar is only readable if the package foo has been defined, but of course as far as the formatter is concerned, it has not, because unlike the compiler, the formatter is only reading the code, not executing it. How can I tell the reader to either go ahead and automatically create a package foo on the fly,