Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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