From: Martin Jambon <martin.jambon@ens-lyon.org>
To: Goswin von Brederlow <goswin-v-b@web.de>
Cc: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] New: cppo, C preprocessor for OCaml
Date: Wed, 18 Nov 2009 12:33:16 +0100 [thread overview]
Message-ID: <4B03DB7C.7070807@ens-lyon.org> (raw)
In-Reply-To: <87ws1o7go3.fsf@frosties.localdomain>
Goswin von Brederlow wrote:
> Martin Jambon <martin.jambon@ens-lyon.org> writes:
>
>> 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
>
> Without looking at it, is is camlp4 based and can I combine that with
> other camlp4 modules or do I need to seperately preprocess the
> source?
No, cppo is a standalone executable and is independent from camlp4 or camlp5.
Note that the camlp4 world has optcomp:
http://forge.ocamlcore.org/projects/optcomp/
Martin
--
http://mjambon.com/
next prev parent reply other threads:[~2009-11-18 11:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 0:54 Martin Jambon
2009-11-18 1:41 ` [Caml-list] " Goswin von Brederlow
2009-11-18 11:33 ` Martin Jambon [this message]
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=4B03DB7C.7070807@ens-lyon.org \
--to=martin.jambon@ens-lyon.org \
--cc=caml-list@inria.fr \
--cc=goswin-v-b@web.de \
/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