[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: goo interoperability with c



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/
>
>