NB: All new development is continued at http://github.com/rowanthorpe/define-ext and newer versions can be found there. The versions found here are for archival purposes only.
A newLISP - www.newlisp.org - macro which allows the user to "define" callable foreign code inline just as they would "define" a lambda or macro. C, Assembly and plain Object Code plugins are included. The Object Code plugin has no external dependencies. The C and Assembly plugins rely on the existence of a TCC .dll/.so file somewhere in the PATH - www.tinycc.org (at present standard binary releases of TCC don't include the .dll/.so file, but it can be easily compiled from the source releases). New plugins for other compiled languages (like Fortran or ECL) should be trivially easy to create using the existing ones as templates.
Be the first to post a review of define-ext!