caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Is there a "disassembler" for Caml?
@ 2003-09-04  1:44 Ching-Tsun Chou
  2003-09-04  7:18 ` Christian Lindig
  0 siblings, 1 reply; 2+ messages in thread
From: Ching-Tsun Chou @ 2003-09-04  1:44 UTC (permalink / raw)
  To: caml-list


Is there a "disassembler" for Caml Light or Objective Caml that can
generate (more or less) readable Caml code from Caml bytecode?

I'd appreciate any pointers!

- Ching Tsun

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Is there a "disassembler" for Caml?
  2003-09-04  1:44 [Caml-list] Is there a "disassembler" for Caml? Ching-Tsun Chou
@ 2003-09-04  7:18 ` Christian Lindig
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Lindig @ 2003-09-04  7:18 UTC (permalink / raw)
  To: Ching-Tsun Chou; +Cc: Caml Mailing List

On Wed, Sep 03, 2003 at 09:44:58PM -0400, Ching-Tsun Chou wrote:
> Is there a "disassembler" for Caml Light or Objective Caml that can
> generate (more or less) readable Caml code from Caml bytecode?

The dumpobj utility in the tools/ directory of the distribution can
disasssemble byte code files. However, it just shows the bytecodes in
clear text, not the original OCaml code. The output is similar to
"ocamlc -dinstr foo.ml".

I don't know of any tool that reconstructs the OCaml source code.

-- Christian

-- 
Christian Lindig         http://www.st.cs.uni-sb.de/~lindig/

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-04  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04  1:44 [Caml-list] Is there a "disassembler" for Caml? Ching-Tsun Chou
2003-09-04  7:18 ` Christian Lindig

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).