caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin Jambon <martin.jambon@ens-lyon.org>
To: OCaml Mailing List <caml-list@inria.fr>
Subject: New: cppo, C preprocessor for OCaml
Date: Wed, 18 Nov 2009 01:54:18 +0100	[thread overview]
Message-ID: <4B0345BA.9020508@ens-lyon.org> (raw)

Dear list,

It is my pleasure to announce the first release of cppo, an OCaml-friendly
equivalent of the C preprocessor (cpp).

Cppo provides the classic #include, #define and conditionals (#ifdef, ...)
which are occasionally useful.  Cppo can be used on OCaml files and variants
of OCaml that use the same lexer, such as ocamllex.

The implementation of cppo was tested with ocaml 3.09 to 3.11 and is based on
ocamllex/ocamlyacc (works also with menhir which I used during the development).


The documentation and the source tarballs are at:

  http://martin.jambon.free.fr/cppo.html

The package is also available from GODI (apps-cppo).


Enjoy.


Martin

-- 
http://mjambon.com/


             reply	other threads:[~2009-11-18  0:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-18  0:54 Martin Jambon [this message]
2009-11-18  1:41 ` [Caml-list] " Goswin von Brederlow
2009-11-18 11:33   ` Martin Jambon
2009-11-18 13:38 ` Richard Jones
2009-11-25 23:54   ` Yoann Padioleau

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=4B0345BA.9020508@ens-lyon.org \
    --to=martin.jambon@ens-lyon.org \
    --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;
as well as URLs for NNTP newsgroup(s).