Newsgroups: comp.lang.lisp.franz Path: utzoo!sq!dak From: dak@sq.sq.com (David A Keldsen) Subject: Re: Calling LISP functions from C. Message-ID: <1991May14.152918.15705@sq.sq.com> Organization: SoftQuad Inc. References: <132261@uunet.UU.NET> <1991May10.202942.1569@odin.corp.sgi.com> <12931@aggie.ucdavis.edu> Distribution: comp.lang.lisp.franz Date: Tue, 14 May 91 15:29:18 GMT Lines: 36 cccstevn@dino.ucdavis.edu (Steve Ansell) writes: >In article <1991May10.202942.1569@odin.corp.sgi.com> gold@sgi.com (Michael Gold) writes: >>In article <132261@uunet.UU.NET> rbj@uunet.UU.NET (Root Boy Jim) writes: >>>I think that I shall never see >>>a LISP function that's called from C. >>Perhaps somebody can clarify this point, but I believe you *can* call a >>lisp function from C, assuming the C function is called from the lisp >>process... >I beleive that this posting was in response to the fact that the person who >asked the original question about calling Lisp from C had a signature of >"Emily Dickinson". The above is a parody of one of her poems. In other >words it was a joke ;-) Unfortunately, the parodied poem is by...Joyce Kilmer. Yet another example of a beautiful hypothesis slain by an ugly fact. ;-) (There should be an example in the manual on how to call Franz Lisp functions from C; alas, it has been many a year since I saw the manual, and my recollection is foggy...roughly, you need to get back in to the "Franz machine" (via a function call) with a representation of a Lisp function, its arguments, and the appropriate environment.) (The LISP creeps in on little cat's parentheses...) [Well, Robert Frost also lived in Amherst, Massachusetts, so it's a bit closer.] Dak -- David A. 'Dak' Keldsen of SoftQuad, Inc. email: dak@sq.com phone: 416-963-8337 "You'd better get on with it," she said. "That's fifty green fires and hot leads to go, with a side order for blisters and scorpions. Hold the mercy." -- _Sourcery_ by Terry Pratchett