From: Dario Teixeira <darioteixeira@yahoo.com>
To: Francois.Pottier@inria.fr
Cc: caml-list@inria.fr, Jeff Shaw <shawjef3@msu.edu>
Subject: Re: [Caml-list] Re: The lexer hack
Date: Tue, 10 Nov 2009 08:48:00 -0800 (PST) [thread overview]
Message-ID: <415678.66831.qm@web111512.mail.gq1.yahoo.com> (raw)
In-Reply-To: <20091110163333.GD19182@yquem.inria.fr>
Hi,
> Interesting. Have you confirmed that this works? I am slightly
> worried by the fact that an LR parser reads one token ahead,
> i.e. one token past BEGIN_VERB might already have been read
> before the enter_verb semantic action is executed. If that is
> so, then this token would be read while the lexer is still in
> the wrong mode.
Yes, I was just thinking about that as well... :-)
I think I can pile another hack on top of the dummy action:
dummy tokens to take care of the readahead issue. Though
this has the potential to get comically silly pretty quickly!
I'll report later...
cheers,
Dario Teixeira
next prev parent reply other threads:[~2009-11-10 16:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-10 15:26 Jeff Shaw
2009-11-10 16:26 ` [Caml-list] " Dario Teixeira
2009-11-10 16:33 ` Francois Pottier
2009-11-10 16:48 ` Dario Teixeira [this message]
2009-11-11 11:03 ` Martin Jambon
2009-11-14 18:19 ` Dario Teixeira
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=415678.66831.qm@web111512.mail.gq1.yahoo.com \
--to=darioteixeira@yahoo.com \
--cc=Francois.Pottier@inria.fr \
--cc=caml-list@inria.fr \
--cc=shawjef3@msu.edu \
/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