caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: STARYNKEVITCH Basile <Basile.Starynkevitch@cea.fr>
To: caml-list@inria.fr
Subject: Q: camlp4 use?
Date: Wed, 12 Jan 2000 16:16:34 +0100 (MET)	[thread overview]
Message-ID: <14460.39634.270012.477197@gargle.gargle.HOWL> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1197 bytes --]


Hello All and best wishes to everyone and to Ocaml for the year 2000
(last of the century)

I am asking who is using the Camlp4 as an Ocaml preprocessor (the
Revised syntax is another legitimate use of Camlp4, as is its pretty
printing facilities) and why?

I am considering use Camlp4 to code a C++ code generator (sadly I
cannot code in Ocaml my applications). My ideas are very fuzzy today,
but I consider coding a generator which represents all of the
generated C++ syntax tree as Ocaml values and using camlp4 to
translate

  CPPCLASS picture ... END

as

  let picture = make_cpp_class "picture" in 
  ...

Alsom did anyone use ocpp (in camlp4)? I did not understand what is it
and why is it useful for?


N.B. Any opinions expressed here are only mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.

---------------------------------------------------------------------
Basile STARYNKEVITCH   ----  Commissariat à l Energie Atomique 
DTA/LETI/DEIN/SLA * CEA/Saclay b.528 (p111f) * 91191 GIF/YVETTE CEDEX * France
phone: 1,69.08.60.55; fax: 1.69.08.83.95 home: 1,46.65.45.53
email: Basile point Starynkevitch at cea point fr 




             reply	other threads:[~2000-01-12 17:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-12 15:16 STARYNKEVITCH Basile [this message]
2000-01-13 10:32 ` Daniel de Rauglaudre
2000-01-14 12:26   ` Anton Moscal
2000-01-14 20:42     ` Markus Mottl
2000-01-20 16:15       ` Anton Moscal
2000-01-25  8:22       ` Gerard Huet

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=14460.39634.270012.477197@gargle.gargle.HOWL \
    --to=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;
as well as URLs for NNTP newsgroup(s).