English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] nlffi-style foreign interface for ocaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-05-08 (20:40)
From: Stephen McCracken <samccpa@y...>
Subject: [Caml-list] nlffi-style foreign interface for ocaml?
Hi, everyone.

I recently read Matthias Blume's paper about the NLFFI foreign interface for
SML/NJ (http://cm.bell-labs.com/who/blume/papers/nlffi.pdf).  NLFFI encodes
the C type system in ML using phantom types.  Then, with some compiler
extensions for dealing with C values, an ML program has direct access to
native C functions and data.

I like the design of NLFFI, and I was wondering if anyone has considered
implementing something similar for ocaml.


To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners