caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] concrete examples to illustrate shift/reduce conflicts
@ 2004-03-19 16:11 James Leifer
  0 siblings, 0 replies; only message in thread
From: James Leifer @ 2004-03-19 16:11 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-19 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-19 16:11 [Caml-list] concrete examples to illustrate shift/reduce conflicts James Leifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).