[Ecls-list] Compiling the SERIES library

John Wiegley jwiegley at gmail.com
Tue Nov 27 02:35:31 UTC 2007


Hello, I'm having a bit of difficult getting SERIES to compile with  
ECL, and I fear things have exceeded my current CL knowledge.

Initially SERIES was failing to compile because there are many  
references to compiler-let, but no definition.  I found that ECL  
provides this in the EXT package, so I patched s-package.lisp as  
follows:

   #+cmu
   (:import-from "EXT" "COMPILER-LET")
+ #+ecl
+ (:import-from "EXT" "COMPILER-LET")
   #+mcl
   (:import-from "CCL" "COMPILER-LET")

However, I still get many errors from the compiler when building s- 
code.lisp.  The code in question looks roughly like this (under many  
layers of macro magic):

   (compiler-let ((*optimize-series-expressions* ,some-var))
     ...)

What I see in the output, however, is not what I expect:

   ;;; Error: (*OPTIMIZE-SERIES-EXPRESSIONS* T) is not a legal  
function name.

This sounds like the compiler-let macro is not being seen; like it's  
trying to evaluate the arguments as though compiler-let were a  
standard function.  And yet, simple uses of compiler-let in isolation  
work just as expected.

Has anyone else succeeded in getting SERIES to compile with ECL?

John




More information about the ecl-devel mailing list