From: Gerd Stolpmann <Gerd.Stolpmann@darmstadt.netsurf.de>
To: Basile STARYNKEVITCH <Basile.Starynkevitch@cea.fr>
Cc: caml-list@inria.fr
Subject: Re: C program analyser in Ocaml?
Date: Fri, 22 Jan 1999 21:58:31 +0100 [thread overview]
Message-ID: <99012222081100.04117@schneemann> (raw)
In-Reply-To: <13992.35774.925837.774045@orion.serma.cea.fr>
On Fri, 22 Jan 1999, you wrote:
>Is there somewhere the sources of a C program analyser (or just
>parser) in Ocaml?
In 1997 I began a project that was intended to simplify ad-hoc usage
of given C libraries in Ocaml. I have never completed it because of
fights with the garbage collector, and because I had doubts if it was
really useful.
The idea was to read a given C header file and automatically generate
stub functions and other needed auxiliary functions dealing with the
type mapping between C and Ocaml. As far as I can remember the program
contains a lexer and a parser limited to header files, i.e. it cannot parse
function bodies, but I think this is simple to add.
You can find the program on
http://people.darmstadt.netsurf.de/Gerd.Stolpmann/ocaml/fragments/cigen.tgz
--
----------------------------------------------------------------------------
Gerd Stolpmann Telefon: +49 6151 997705 (privat)
Viktoriastr. 100
64293 Darmstadt EMail: Gerd.Stolpmann@darmstadt.netsurf.de (privat)
Germany
----------------------------------------------------------------------------
next prev parent reply other threads:[~1999-01-24 14:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-22 14:31 Basile STARYNKEVITCH
1999-01-22 20:58 ` Gerd Stolpmann [this message]
1999-01-23 8:52 ` Francois Pottier
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=99012222081100.04117@schneemann \
--to=gerd.stolpmann@darmstadt.netsurf.de \
--cc=Basile.Starynkevitch@cea.fr \
--cc=caml-list@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