caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Chris Campbell <cyberdanx@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Automatic interfacing of ocaml to c?
Date: Tue, 4 Oct 2005 20:43:35 +0000	[thread overview]
Message-ID: <c22844d10510041343o7f39d065o@mail.gmail.com> (raw)

Message copied below, I sent it to the caml-list@inria.fr but it
doesn't show.  Which is correct?  caml-list@inria.fr or
caml-list@yquem.inria.fr?

==
Hi,

Has anyone done any work on this?  I'm in the process of attempting a
semi autogenerated binding to opengl using the mesa xml specifications
of the interface and lablgl.  This is very early days; so far all I've
done is map the flat (a portion of the) gl enumeration space to a set
of types and values, then auto generate tables mapping the ml variants
to gl enumeration values ala lablgl.

I have a good idea of what it will do and am just looking for advice
from anyone who has done this sort of thing before (if any).  The main
problems so far arise from the flat gl space and wanting to split that
up into a more friendly set of types and modules. In fact, I will only
be generating the mundane stuff as some of this mapping is quite
tricky and using that as a base.  Many of the opengl functions are
trivially mapped to OCaml but those that don't will be hand coded.

Any thoughts?


Regards,
Chris


             reply	other threads:[~2005-10-04 20:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-04 20:43 Chris Campbell [this message]
2005-10-04 21:56 ` [Caml-list] " Jon Harrop
2005-10-05 20:30   ` Chris Campbell
  -- strict thread matches above, loose matches on Subject: below --
2005-10-04 20:29 Chris Campbell

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=c22844d10510041343o7f39d065o@mail.gmail.com \
    --to=cyberdanx@gmail.com \
    --cc=caml-list@yquem.inria.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;
as well as URLs for NNTP newsgroup(s).