Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] concrete examples to illustrate shift/reduce conflicts
[ 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: [Caml-list] concrete examples to illustrate shift/reduce conflicts
Hi,

Anyone know of tools for taking a parser.output automaton (from
ocamlyacc) containing shift/reduce conflicts and generating a concrete
example of a string of tokens that "exercises" the ambiguity?

One can often do this by hand, but for complex grammars with lots of
precedence rules it gets difficult.

-James

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners