caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oliver Bandel <oliver@first.in-berlin.de>
To: caml-list@inria.fr
Subject: Re: [Caml-list] disassembling cmo files
Date: Wed, 7 Dec 2005 11:11:46 +0100	[thread overview]
Message-ID: <20051207101146.GA576@first.in-berlin.de> (raw)
In-Reply-To: <53c655920512070152jbafa79aw@mail.gmail.com>

On Wed, Dec 07, 2005 at 10:52:25AM +0100, David Baelde wrote:
> Hi,
> 
> A simple and interesting way to learn about the bytecode is the
> -dinstr option of ocamlc and ocaml toplevel. It dumps a human-readable
> version of the produced bytecode. Similarly, there is -dlambda.

Both are very nice features but are a) undocumented and b) work
on the ml-file, not the cmo-files.

To have access to a cmo-file... well... IMHO maybe could be used to
combine Ocaml-stuff with other languages... e.g. dynamically loading
*.cmo's into C-programs...
(...should be possible to do that?!)



Ciao,
   Oliver


      parent reply	other threads:[~2005-12-07 10:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-07  7:45 Jonathan Roewen
2005-12-07  8:55 ` basile
2005-12-07  9:52   ` David Baelde
2005-12-07 10:02     ` Jonathan Roewen
2005-12-07 10:11     ` Oliver Bandel [this message]

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=20051207101146.GA576@first.in-berlin.de \
    --to=oliver@first.in-berlin.de \
    --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).