[cffi-devel] CFFI-GROVEL ASDF integration

Mark Cox markcox80 at gmail.com
Sat Nov 10 08:34:13 UTC 2012


G'day,

I have attached a patch that changes CFFI-GROVEL's ASDF code to use the default ASDF operations for compiling and loading processed grovel and wrapper files. The implementation is based on suggestions made by Robert Goldman and Juan Jose Garcia-Ripoll.

The patch introduces two new classes, PROCESS-OP and PROCESS-OP-INPUT. The class PROCESS-OP represents an ASDF operation that generates a lisp source file from a PROCESS-OP-INPUT component. A PROCESS-OP-INPUT component acts like a ASDF:CL-SOURCE-FILE by redirecting COMPILE-OP and LOAD-SOURCE-OP to the generated lisp source file.

The previously defined GROVEL-FILE and WRAPPER-FILE components now inherit from PROCESS-OP-INPUT.

Thanks
Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CFFI-GROVEL-now-uses-ASDF-operations-to-compile-and-.patch
Type: application/octet-stream
Size: 7008 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20121110/7a8b75a0/attachment.obj>


More information about the cffi-devel mailing list