caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Pretty-printing the OCaml AST from the toplevel
@ 2007-10-08 10:57 Joel Reymont
  2007-10-08 12:49 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Reymont @ 2007-10-08 10:57 UTC (permalink / raw)
  To: Caml List

Are there any examples of pretty-printing the OCaml AST from the  
toplevel?

I'm looking to use this during interactive debugging.

I see the following example in the camlp4 changes doc

camlp4 -parser OCaml -printer OCamlr foo.ml

but I'm still browsing through Camlp4.ml to figure out what that does  
exactly.

	Thanks, Joel

--
http://wagerlabs.com




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

end of thread, other threads:[~2007-10-08 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-08 10:57 Pretty-printing the OCaml AST from the toplevel Joel Reymont
2007-10-08 12:49 ` [Caml-list] " Nicolas Pouillard

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