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 (15:46)
From: Joel Reymont <joelr1@g...>
Subject: Re: [Caml-list] Testing lexers and parsers

On Feb 27, 2007, at 3:42 PM, Denis Bueno wrote:

> I recently had to deal with this problem. I ended up testing the
> parsing/printing by parsing a file, printing it out, and parsing the
> print-out,

Are you printing out the AST to make sure you can reproduce the  
original file you parsed?

	Thanks, Joel