Re: goo interoperability with c
Jonathan Bachrach <[email protected]> Tue, 19 Aug 2003 06:46:46 -0400
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Message-ID | <[email protected]> |
haven't considered it. would have to invent goo syntax for all of c. the idea is to come up the simplest possible C interoperability layer. jonathan On Friday, August 15, 2003, at 10:08 PM, Christopher Armstrong wrote: > On Fri, Aug 15, 2003 at 10:33:18PM -0400, Jonathan Bachrach wrote: >> i'm getting ready to release a new version of goo with this facility >> but would appreciate any feedback on it before then. > > Have you considered writing a set of macros to generate this C code > with a gooier (i.e., s-exp based) syntax? I know it can be a lot of > work (I've done such myself before), but I would definitely prefer > that than embedding C syntax inside goo syntax. > > For example > > (c:defun c:int myfunc (c:int|arg) > (return (+ arg 1))) > > Or something? > > -- > Twisted | Christopher Armstrong: International Man of Twistery > Radix | Release Manager, Twisted Project > ---------+ http://twistedmatrix.com/users/radix.twistd/ > >