[Ecls-list] "compiler called recursively" error

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu May 21 14:25:34 UTC 2009


On Thu, May 21, 2009 at 4:02 PM, Dorai Sitaram <ds26gte at yahoo.com> wrote:
>
> I find that ECL (and only ECL among the various CLs) will not allow compile-file's argument file to contain
>
>  (eval-when (:compile-toplevel) (compile-file "another_file"))
>
> Why forbid something that is as harmless as this, and that is even useful as a way to have one call to compile-file trigger all the appropriate compilations of related files?

Please clean up the code and make it reentrant. Then we will allow
that :-) The compiler is a really old beast, which makes pervasive use
of special and global variables. That is why you can not invoke the
compiler when it is already compiling another file.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list