Re: Decreasing the "standard deviation" of lisp



Eli Gottlieb <eligottlieb@xxxxxxxxx> writes:

Jack Unrue wrote:
On Fri, 28 Apr 2006 21:06:23 GMT, Eli Gottlieb <eligottlieb@xxxxxxxxx> wrote:

Furthermore, can I write a macro in C that will recognize
and manipulate Lisp data from any conforming implementation and
export it to Lisp with CFFI?
Since macros in C are enabled by the *pre-processor*
stage, and thus the only data that can be manipulated
are tokens in the parser input stream, I think this is
a malformed question.

Correction:
Furthermore, can I write a function in C that will recognize
and manipulate Lisp data from any conforming
implementation

Probably not as that would imply knowing the details of the
implementations internal data representations, which seems at best
like a bad idea (low level implementation coupling and restrictions on
how an implemtation may represent low level internal code) and at
worst just plain goofy.


and, by using CFFI, export that function to Lisp for use as a macro
function?

Are you saying that you want to write a macro in C and export it for
use in Lisp? That's not just colossally dumb its outright crazy.


/Jon

--
'j' - a n t h o n y at romeo/charley/november com
.