|Parsing with infinite lookahead Matt_Timmermans@msl.isis.org (Matt Timmermans/MSL) (1994-02-22)|
|Re: Parsing with infinite lookahead firstname.lastname@example.org (1994-02-24)|
|Parsing with infinite lookahead email@example.com (Stephen J Bevan) (1994-02-24)|
|Re: Parsing with infinite lookahead firstname.lastname@example.org (1994-02-24)|
|Re: Parsing with infinite lookahead email@example.com (Terence Parr) (1994-02-25)|
|Re: Parsing with infinite lookahead corbett@lupa.Eng.Sun.COM (1994-02-26)|
|Re: Parsing with infinite lookahead firstname.lastname@example.org (1994-02-27)|
|Re: Parsing with infinite lookahead email@example.com (1994-02-28)|
|Re: Parsing with infinite lookahead firstname.lastname@example.org (1994-03-01)|
|[2 later articles]|
|From:||Stephen J Bevan <email@example.com>|
|Keywords:||parse, theory, bibliography|
|Date:||Thu, 24 Feb 1994 11:08:15 GMT|
Matt Timmermans/MSL <Matt_Timmermans@msl.isis.org> asks:
If not, does anyone know of a deterministic method for determining whether or
not a context-free grammar is ambiguous?
>From [DeRemer:cc:1974,pp46] :-
Another condition that can easily be checked is the existence of an
ambiguity due to some nonterminal being both left and right
recursive. However, it is to be noted that this is a special case.
In general, the question of ambiguity in context-free grammars is
, author= "Franklin L. DeRemer"
, title= "Review of Formalisms and Notation"
, crossref= "cc:1974"
, pages= "37--56"
, checked= 19940222
, author= "F. L. Bauer (editor)"
, title= "Compiler Construction -- An Advanced Course"
, series= lncs
, volume= 21
, author= "R. W. Floyd"
, title= "On ambiguity in phrase-structure languages"
, journal= cacm
, volume= 5
, year= 1962
Return to the
Search the comp.compilers archives again.