Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Sven LUTHER <luther@maxime.u-strasbg.fr>
To: Patrick Goldbronn - SYSCO <patrick.goldbronn@cea.fr>,
	caml Inria <caml-list@inria.fr>
Subject: Re: Stub between Ocaml and C : camlidl or swig
Date: Fri, 18 Jun 1999 07:51:14 +0200	[thread overview]
Message-ID: <19990618075114.A29940@maxime.u-strasbg.fr> (raw)
In-Reply-To: <3768C24A.96C2601F@cea.fr>; from Patrick Goldbronn - SYSCO on Thu, Jun 17, 1999 at 11:39:22AM +0200

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




      reply	other threads:[~1999-06-18 15:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-17  9:39 Patrick Goldbronn - SYSCO
1999-06-18  5:51 ` Sven LUTHER [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990618075114.A29940@maxime.u-strasbg.fr \
    --to=luther@maxime.u-strasbg.fr \
    --cc=caml-list@inria.fr \
    --cc=luther@dpt-info.u-strasbg.fr \
    --cc=patrick.goldbronn@cea.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox