Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Conglun Yao" <yaoconglun@gmail.com>
To: caml-list@inria.fr
Subject: Camlp4 generate more than one (compiled) files?
Date: Fri, 17 Oct 2008 12:15:08 +0100	[thread overview]
Message-ID: <f7b50d2a0810170415u3a1f618fv26ec490b7da24b91@mail.gmail.com> (raw)

Dear all,

I'm just wondering is it possible to use camlp4 to generate more than
one compiled files.
Normally, camlp4 preprocesses a file and then pass it directly to
compiler (for *.cmo),  or its pretty-printer (for *.ml or other
'plain' file).

In my case, I want to extend the syntax, and write a file, then
preprocess (camlp4) it to generate two different *.cmo files, each one
could be executed separately.

Is it possible?

Thanks,
Conglun


             reply	other threads:[~2008-10-17 11:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 11:15 Conglun Yao [this message]
2008-10-17 11:52 ` [Caml-list] " Richard Jones
2008-10-17 13:00   ` Conglun Yao

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=f7b50d2a0810170415u3a1f618fv26ec490b7da24b91@mail.gmail.com \
    --to=yaoconglun@gmail.com \
    --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