bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Controlling the effects of precedence declarations


From: Frank Heckenbach
Subject: Re: Controlling the effects of precedence declarations
Date: Thu, 15 May 2003 03:58:25 +0200

Hans Aberg wrote:

> Precedence declaration can in fact be
> expressed as a statement about restrictions of the parse tree generated
> from the grammar alone. One reference is
> <http://www.cs.uu.nl/people/visser/ftp/BSVV02.pdf>, and as I could could
> parse that one, I made another version myself.

I've read this paper now. Actually, it seems to be quite like what I
have in mind, in that it's based on GLR and that it allows to
specify precedence "locally" (rule-based, rather than Bison's
"global" token-based precedence).

Of course, it contains much more, and if this will ever be
implemented in Bison, I'll probably try it (it might help me in
other areas, such as my directives).

In the meantime (whatever this means ...), I think my proposed
`%no-default-precedence' might be a useful solution for this
particular aspect.

Frank

-- 
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]