chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] <inexact> and <exact>


From: felix
Subject: Re: [Chicken-users] <inexact> and <exact>
Date: Wed, 18 Aug 2004 23:28:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Hi!

I have checked in a some changes, containing a preliminary
version of the FFI-spec generation:

#>% ... <#

parses C/C++ code and generates a "specification", i.e.
s-expressions wrapped in a `(foreign-parse/spec ...)' form.
Define a macro of that name (before the #>% ... <#) which
does whatever it wants with it:

(define-macro (foreign-parse/spec X)
  `(pp ',X))

#>%
int foo(int);
<#

See the manual for more information. Feedback is very welcome.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]