[Openmcl-devel] Darwin and shared libraries

John DeSoi desoi at mac.com
Mon Apr 1 22:26:30 PST 2002


Alex,

>As an aside, how many people actually read this?


No idea. I just started looking into OpenMCL a few days ago.

>
>ffigen is a good start, but what I really want is to be able to 
>build atomic package
>interfaces so that a developer can say (use-foreign-interface "X11") and get
>everything in one shot. At a minimum that means:
>
>   importing all the functions and symbols from libX11
>   importing all the type definitions from X11.h and friends
>
>and in a more perfect world, we would get a set of wrappers so that 
>"standard" lisp
>types would get translated into the appropriate C typed objects 
>without requiring
>the developer to explicitly cast everything.


Sounds very cool. Especially to some one who just finished writing 
140 foreign function definitions.

>
>I'd really like to get a gcc based ffigen for Darwin - I'll be happy 
>to write it if necessary
>but I'd rather play with MCL internals then GCC internals (been 
>there, done that).
>Does it exist?

The only .h file parser I know about is here:

http://www.bricoworks.com/~moore/cparse/

 From the interface files that come with the commercial MCL, I can 
tell they have a pretty nice tool that creates the files. I asked 
about it on the list a while back but did not get any responses.

Best,

John DeSoi, Ph.D.

_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list