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
[Caml-list] debugging ocamlyacc grammars
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: James Leifer <James.Leifer@i...>
Subject: Re: [Caml-list] debugging ocamlyacc grammars
"Rafael 'Dido' Sevilla" <> writes:

> I'm attempting to debug a grammar for ocamlyacc i'm in the process of
> writing, and am wondering if there's a feature there similar to what
> happens when you #define YYDEBUG 1 and set yydebug = 1 with Bison or
> Yacc, giving a dump of the parser's state, stack, and read tokens, which
> is invaluable for debugging.

Do you mean the parser.output file produced when you use the -v

    ocamlyacc -v foo.mly


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: