Hi Alessio,
On Sun, May 2, 2010 at 12:59 AM, Alessio Stalla alessiostalla@gmail.com wrote:
Here's my idea to resolve this situation, in a simple step-by-step representation:
- Install a dispatch macro function (in some unused dispatch macro
character); something like #n#
- Adjust DUMP-FORM to generate the dispatch output for uninterned symbols
- Create all uninterned symbols at the start of the FASL (filling a
table with them) 2. Let the reader resolve the uninterned symbols by looking up in the table
This approach has the nice side-effect that we can eliminate the need for the anonymous package - although we will need to maintain a table. It will resolve the issues we currently have with the coalesced symbols. It uses standard Lisp infrastructure; no heavy code changes required.
Comments?
Sounds like a good plan. However, probably a custom reader macro can be avoided in favor of something like #.(sys::fasl-uninterned-symbol key-in-the-table).
Well, I liked the idea of the terseness of the dispatch macro. That's all.
Bye,
Erik.