Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Dumping of Typedtree
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: yoann padioleau <padator@w...>
Subject: Re: [Caml-list] Dumping of Typedtree



> Message du 14/09/05 19:54
> De : "Remi Vanicat" <remi.vanicat@gmail.com>
> A : "Mark Shinwell" <Mark.Shinwell@cl.cam.ac.uk>
> Copie à : caml-list@inria.fr
> Objet : Re: [Caml-list] Dumping of Typedtree
> 
> 2005/9/14, Mark Shinwell <Mark.Shinwell@cl.cam.ac.uk>:
> > This is mainly directed at the current O'Caml maintainers.
> > 
> > Does there exist anywhere a piece of code for dumping the typed syntax
> > tree representations (values of type Typedtree.structure etc) which are
> > used inside the compiler?  I can't find anything in the compiler to do
> > this at the moment, and it looks moderately tedious to write.

You can use the dumper module by richard jones.
 http://merjis.com/developers/dumper
The result is not perfect but it does a good job for fast debugging.

> 
> I don't know if it is the typed syntax tree representation, but you
> coul look to the -dtypes option of ocamlc ?
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
>