[Ecls-list] make-load-form fix

Julian Stecklina der_julian at web.de
Mon May 29 05:49:02 UTC 2006


Juan Jose Garcia Ripoll <lisp at arrakis.es> writes:

> The way ECL's compiler handle complex constants is as follows:
>
>      1. Add the constant to a hash table with an index to the position
>         in the constant data table that is built at run time
>      2. If the constant does not require a load form, add it to the
>         string from which constant data is read at run time.
>      3. If the constant requires a load form
>              1. Invoke MAKE-LOAD-FORM to obtain a "make" and an
>                 "initialization" form.
>              2. Compile the "make" form
>              3. Compile the "init" form
>
> As you see, the process is recursive. When the object that requires a
> load form appears again in the construction ("make") or in the
> initialization ("init") forms, the compiler will already know where to
> fetch it from.

Thanks for the clarification.

Regards,
-- 
Julian Stecklina

Being really good at C++ is like being really good at using rocks to
sharpen sticks. - Thant Tessman




More information about the ecl-devel mailing list