[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#, implementation
- To: sandra@cs.utah.edu
- Subject: #, implementation
- From: Eric Benson <edsel!eb@labrea.stanford.edu>
- Date: Tue, 21 Jun 88 10:23:40 pdt
- Cc: cl-compiler@sail.stanford.edu
- In-reply-to: Sandra J Loosemore's message of Tue, 21 Jun 88 08:53:15 MDT <8806211453.AA15752@cs.utah.edu>
From: sandra@cs.utah.edu (Sandra J Loosemore)
Date: Tue, 21 Jun 88 08:53:15 MDT
Also, I'm curious to know: what does your reader return for #, and how
does the compiler recognize it when it's buried inside of a QUOTE form?
-Sandra
-------
Our reader returns an object of a certain internal type (defined by
DEFSTRUCT) containing the expression following the #, . This is
recognized not by the compiler but by the "fasdumper," the function
that writes binary files. When such an object is encountered while
traversing a constant data structure, the fasdumper emits a special
opcode which causes EVAL to be called at load time on the expression
contained in the object.