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
Testing lexers and parsers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-27 (16:11)
From: Denis Bueno <dbueno@g...>
Subject: Re: [Caml-list] Testing lexers and parsers
[Meant to send to the list the first time. Sorry for the dupe.]

On 2/27/07, Denis Bueno <dbueno@gmail.com> wrote:
> On 2/27/07, Joel Reymont <joelr1@gmail.com> wrote:
> > Are you printing out the AST to make sure you can reproduce the
> > original file you parsed?

Yes. I wanted to make sure my AST-printing functions would print
correct source code in the source language. This makes it very easy to
inspect AST fragments.