hi Igor,

Yes I have tried some little external libraries, nothing big yet (besides
llvm, and libclang). For the moment I did not see any show-stopper
problems... But there are still some rough edges. What I have under
scrutiny right now are:
- adding unions to NB
- supporting vectors (and constant arrays, which are flattened right now).
Vectors appear to be used in cblas.
- there are some problems with my callback naming scheme, which I found
trying to map Cairo.

Besides these there are some improvements to NB, to simplify code
generation and maintenance like:
- an unified parser for the simplified c declarations.
- unifying fieldDecl, enumDecl, fnSpec under a single naming convention...
Maybe nativeSpec, or nativeDecl

For the customizations I think right now is to early to say that I have a
good interface. But certainly over time we will have different filters.
Right now you can customize fct names using a block, and u can specify a
prefix for the generated classes.

I am also thinking about a graphical interface, somewhat on the lines of
the dllcc in vw.

Anyways I think using libclang offers nice opportunities, maybe retrieving
comments from headers, or even autocomplete-like ffi generation...

So yeah for now I will call TalkFFI a tech-preview... We will see how it
goes ;)

Cheers

On Jan 7, 2013 1:13 AM, "Igor Stasenko" <[email protected]> wrote:
>
> Wow.. that's great.
> Having a way to automatically generate bindings makes life much easier :)
>
> Few questions:
>  - did you tried to run it against some libraries around there, except
> from LLVM?
>
> - i saw, in video, you can customize generation a bit.. to what
> extent? Is there interface
> (suppose i want to use own naming prefix, suppress generation of
> certain declaration etc)?
>
> --
> Best regards,
> Igor Stasenko.
>

Reply via email to