English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Pretty-printing the OCaml AST from the toplevel
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-08 (10:57)
From: Joel Reymont <joelr1@g...>
Subject: Pretty-printing the OCaml AST from the toplevel
Are there any examples of pretty-printing the OCaml AST from the  

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  

	Thanks, Joel