FFI documentation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

FFI documentation

Julien Delplanque
Hello,

Let's say I would like to create a binding to ncurses library.
Is there any documentation on how to do it properly?
Or at least do you have any advice to do it the right way?

I have no real knowledge on how the unified ffi work. So
any documentation is welcome.

Thanks in advance. :)

Julien

Reply | Threaded
Open this post in threaded view
|

Re: FFI documentation

abergel
Hi Julien!

Esteban L. wrote a chapter on it:
https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/UnifiedFFI/UnifiedFFI.pdf

It would be great to have a Help, accessible in the HelpBrowser in Pharo.

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



> On May 6, 2016, at 3:21 PM, Julien Delplanque <[hidden email]> wrote:
>
> Hello,
>
> Let's say I would like to create a binding to ncurses library.
> Is there any documentation on how to do it properly?
> Or at least do you have any advice to do it the right way?
>
> I have no real knowledge on how the unified ffi work. So
> any documentation is welcome.
>
> Thanks in advance. :)
>
> Julien
>


Reply | Threaded
Open this post in threaded view
|

Re: FFI documentation

Julien Delplanque
Super cool!

This is exactly what I needed.

Thanks a lot!

Julien

On 06/05/16 21:18, Alexandre Bergel wrote:
> Hi Julien!
>
> Esteban L. wrote a chapter on it:
> https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/UnifiedFFI/UnifiedFFI.pdf
>
> It would be great to have a Help, accessible in the HelpBrowser in Pharo.
>
> Cheers,
> Alexandre


Reply | Threaded
Open this post in threaded view
|

Re: FFI documentation

Pierce Ng-3
In reply to this post by abergel
On Fri, May 06, 2016 at 04:18:51PM -0300, Alexandre Bergel wrote:
> Hi Julien!
> Esteban L. wrote a chapter on it:

Also take a look at https://github.com/PierceNg/libffidemo.
The three accompanying blog posts:

- http://www.samadhiweb.com/blog/2016.03.09.demoffi.html
- http://www.samadhiweb.com/blog/2016.03.12.demoffi.html 
- http://www.samadhiweb.com/blog/2016.03.17.demoffi.html

Pierce