From: Bob Rossi <bob@brasko.net>
To: Michael Chastain <mec.gnu@mindspring.com>
Cc: gdb@sources.redhat.com, drow@false.org
Subject: Re: GDB/MI Output Syntax ambiguity
Date: Mon, 23 Aug 2004 22:23:00 -0000 [thread overview]
Message-ID: <20040823222349.GA15932@white> (raw)
In-Reply-To: <412A64E9.nailD781GRTXW@mindspring.com>
On Mon, Aug 23, 2004 at 05:43:05PM -0400, Michael Chastain wrote:
> It's been a while since I wrote a yacc grammar, but my inclination
> would be to enhance the lexer and distinguish some new terminals:
>
> TOKEN-UPARROW
> TOKEN-STAR
> TOKEN-PLUS
> TOKEN-EQUALS
>
> Then the grammar goes from LALR(2) to LALR(1), because
> result-record can start with TOKEN-UPARROW, which is just
> one symbol, rather than token "^", which is two symbols.
> That ought to make it yacc-parseable.
Yes, this could work. However, was the original grammer meant to be
LALR(2)?
I am going to try to do some Left Factoring to fix the problem but I
don't think it will work. Plus, I don't have to much experience with
this.
Thanks,
Bob Rossi
next prev parent reply other threads:[~2004-08-23 22:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-23 21:03 Bob Rossi
2004-08-23 21:09 ` Daniel Jacobowitz
2004-08-23 21:12 ` Bob Rossi
2004-08-23 21:37 ` Bob Rossi
2004-08-23 21:42 ` Michael Chastain
2004-08-23 22:23 ` Bob Rossi [this message]
2004-08-24 3:56 ` Michael Chastain
2004-08-24 12:36 ` Bob Rossi
2004-08-24 17:15 Xinan Tang
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=20040823222349.GA15932@white \
--to=bob@brasko.net \
--cc=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=mec.gnu@mindspring.com \
/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