Some good news, I have managed to rewrite the code somewhat better so
now I can build SBCL with the changes and all the tests I made passed.
The patch is here:
for x86 tested on darwin
I get various warnings from the compiler like:
; note: unable to
; could not optimize away %SAP-ALIEN: forced to do runtime
; allocation of alien-value structure
I think it's because I am rebinding FUNCTION to a different type at
runtime in the expansion of the deftransform. I'll try to fix this now
but I thought give an update on the progress and also would like for
any comments about this patch so far.