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 (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 <> wrote:
> On 2/27/07, Joel Reymont <> 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.