Add make-load-form for sb-kernel:lexenv

Bug #1829074 reported by Paul F. Dietz on 2019-05-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I have a use case where I'd like to save the lexical environment constructed during compilation. For file compilation, this means the lexenv must be storable into the fasl file, so it needs a make-load-form.

This is complicated by the presence of FUNCTION objects in the one or more of the slots, for example MACROS (where they come from macrolet). However, we don't need the exact same function at load time, just something that computes the same thing. So, the load form could be constructed by taking the source of these functions and having an equivalent lambda or named lambda be found in the load form.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers