From: "Dash, Santanu" <s.dash@herts.ac.uk>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: [Caml-list] file specific outputting
Date: Tue, 10 Jul 2012 11:50:24 +0100 [thread overview]
Message-ID: <CEDE565C-6DB2-40FF-9967-8E93DEACAE5E@herts.ac.uk> (raw)
Hello all,
I work in the area of program analysis. I am currently trying to analyse Ocaml programs and wish to output file-specific information with the aid of the Ocaml compiler.
For example, if I compile a file called foo.ml, i want to output a file called foo.info based on an analysis of alpha.ml. I have already integrated the analysis module with the Ocaml compiler.
Can someone direct me on the best way to go about this? Is there a variable in the compiler that stores the filename of the file currently being compiled?
Kind regards,
Santanu
next reply other threads:[~2012-07-10 10:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 10:50 Dash, Santanu [this message]
2012-07-10 11:21 ` Gabriel Scherer
2012-07-10 12:16 ` Jérémie Dimino
2012-07-10 12:39 ` Dash, Santanu
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=CEDE565C-6DB2-40FF-9967-8E93DEACAE5E@herts.ac.uk \
--to=s.dash@herts.ac.uk \
--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