From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Francois.Pottier@inria.fr
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: [ANNOUNCE] Alpha release of Menhir, an LR(1) parser generator for ocaml
Date: Thu, 15 Dec 2005 13:56:01 -0500 [thread overview]
Message-ID: <871x0ep52y.fsf-monnier+inbox@gnu.org> (raw)
In-Reply-To: <20051215165027.GA28709@yquem.inria.fr> (Francois Pottier's message of "Thu, 15 Dec 2005 17:50:27 +0100")
>> For toy projects it's amazing: you get good error messages with 0 effort.
> What about non-toy projects? Are there times where the automatic error
> recovery mechanism gets in the way?
I wouldn't know, really.
SML/NJ uses it and I find its syntax error reporting to be generally good.
E.g. significantly better than OCaml's ;-)
But if it's not good enough, there are hooks to influence its behavior
(e.g. telling it what to try and add/remove first, thus telling it basically
what are tokens commonly forgotten and spuriously added), but I don't know
how it compares in practice to a well tuned yacc error recovery.
Stefan
next prev parent reply other threads:[~2005-12-15 18:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-12 17:58 Francois Pottier
2005-12-12 19:51 ` [Caml-list] " "Márk S. Zoltán"
2005-12-13 21:07 ` Nathaniel Gray
2005-12-14 6:08 ` skaller
2005-12-14 9:04 ` Francois Pottier
2005-12-14 10:27 ` Alessandro Baretta
2005-12-14 21:04 ` skaller
2005-12-15 8:46 ` Francois Pottier
2005-12-15 11:03 ` skaller
2005-12-14 20:51 ` skaller
2005-12-14 22:15 ` Joaquin Cuenca Abela
2005-12-15 8:40 ` Francois Pottier
2005-12-15 6:35 ` Stefan Monnier
2005-12-15 8:47 ` [Caml-list] " Francois Pottier
2005-12-15 16:41 ` Stefan Monnier
2005-12-15 16:50 ` Francois Pottier
2005-12-15 18:56 ` Stefan Monnier [this message]
2005-12-30 21:57 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871x0ep52y.fsf-monnier+inbox@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=Francois.Pottier@inria.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox