15:06:50scymtymbeach: :UNPARSED is probably misleading as a node kind. the expression is actually parsed to the extend of ensuring that it is a (not generalized) Boolean. :UNPARSED is sometimes used as a node that can hold arbitrary expressions (to ensure that everything is a node)
15:08:14scymtymmaybe something like (node* (:literal :value (extract-value source) :source source)) would be better?
15:08:47scymtymwith (the boolean (extract-value source)), even if SOURCE is a CST
15:09:56scymtymthe other possibility would be to store the read-only-p value as an initarg in the LOAD-TIME-VALUE node, but then the source expression could not be stored
15:11:04scymtym(interestingly, other implementations allow forms like (load-time-value 1 1) which suggests they interpret READ-ONLY-P as a generalized Boolean)
15:22:33beachYes, something that mentions literal would be better.
15:23:28beachThe standard is explicit that it is not a generalized Boolean.