From: Warren Harris <warrensomebody@gmail.com>
To: caml-list caml-list <caml-list@yquem.inria.fr>
Subject: ocamlyacc error recovery
Date: Sat, 17 Jul 2010 13:00:33 -0700 [thread overview]
Message-ID: <7F726E52-8F0E-4421-A996-C44BDCD5E122@gmail.com> (raw)
I was wondering if it was possible for ocamlyacc to perform error recovery by attempting to insert a token in the stream and continuing to parse. The docs indicate that the error recovery mechanism is mostly centered around discarding tokens, but in this case I'd like to attempt to insert a close-delimiter to see if the parse can continue. Thanks for any pointers,
Warren
reply other threads:[~2010-07-17 20:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=7F726E52-8F0E-4421-A996-C44BDCD5E122@gmail.com \
--to=warrensomebody@gmail.com \
--cc=caml-list@yquem.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