Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Stub between Ocaml and C : camlidl or swig
@ 1999-06-17  9:39 Patrick Goldbronn - SYSCO
  1999-06-18  5:51 ` Sven LUTHER
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Goldbronn - SYSCO @ 1999-06-17  9:39 UTC (permalink / raw)
  To: caml Inria

Hi,

I'd like to know if someone has worked on automatically generation of
stub file between ocaml and C code.

I don't want something like camlidl (which is to strict for my purpose),
but something more simple and pliant (as swig :
http://www.cs.utah.edu/~beazley/SWIG).

My goal is very specific so I'm interested even if the work is specific
to !!

I ask this before to write my own generator (if someone has already made
the same)

Thanks,

-- 
#####################################
# Patrick GOLDBRONN                 #
# CEA - DRN/DMT/SYSCO               #
# CE-Saclay, Bâtiment 460           #
# 91191 GIF/YVETTE CEDEX (FRANCE)   #
#                                   #
# Tél : 01 69 08 40 66              #
# Fax : 01 69 08 96 96              #
#####################################




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Stub between Ocaml and C : camlidl or swig
  1999-06-17  9:39 Stub between Ocaml and C : camlidl or swig Patrick Goldbronn - SYSCO
@ 1999-06-18  5:51 ` Sven LUTHER
  0 siblings, 0 replies; 2+ messages in thread
From: Sven LUTHER @ 1999-06-18  5:51 UTC (permalink / raw)
  To: Patrick Goldbronn - SYSCO, caml Inria

On Thu, Jun 17, 1999 at 11:39:22AM +0200, Patrick Goldbronn - SYSCO wrote:
> Hi,
> 
> I'd like to know if someone has worked on automatically generation of
> stub file between ocaml and C code.
> 
> I don't want something like camlidl (which is to strict for my purpose),
> but something more simple and pliant (as swig :
> http://www.cs.utah.edu/~beazley/SWIG).
> 
> My goal is very specific so I'm interested even if the work is specific
> to !!
> 
> I ask this before to write my own generator (if someone has already made
> the same)

I have the begining of a C header parser that i intent to use to generate the mlgtk
stubs. It is entirely written in caml, and is under the GPL, if you are
interrested, tell me. Up to now, it parses the headers and put them in a big
list. My plan was to generate the bindings with this lists. I have some ideas on
how to do it automatically for most C constructs, other could cause problems. If
you are interrested, i can do a website for it, separate from mlgtk, or also send
it to you.

Friensly,

Sven LUTHER




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-06-18 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-17  9:39 Stub between Ocaml and C : camlidl or swig Patrick Goldbronn - SYSCO
1999-06-18  5:51 ` Sven LUTHER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox