Re: yacc for Pascal, was Why LL(1) Parsers do not support left recursion?

Hans-Peter Diettrich <DrDiettrich1@aol.com>
3 Aug 2006 11:02:17 -0400

          From comp.compilers

Related articles
Re: yacc for Pascal, was Why LL(1) Parsers do not support left recursi DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-07-29)
Re: yacc for Pascal, was Why LL(1) Parsers do not support left recursi cfc@shell01.TheWorld.com (Chris F Clark) (2006-07-29)
Re: yacc for Pascal, was Why LL(1) Parsers do not support left recursi DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-07-31)
RE: yacc for Pascal, was Why LL(1) Parsers do not support left recursi qtj-query@shaw.ca (Quinn Tyler Jackson) (2006-07-31)
Re: yacc for Pascal, was Why LL(1) Parsers do not support left recursi DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-08-03)
RE: yacc for Pascal, was Why LL(1) Parsers do not support left recursi qtj-query@shaw.ca (Quinn Tyler Jackson) (2006-08-06)
| List of all articles for this month |

From: Hans-Peter Diettrich <DrDiettrich1@aol.com>
Newsgroups: comp.compilers
Date: 3 Aug 2006 11:02:17 -0400
Organization: Compilers Central
References: 06-07-111 06-07-113
Keywords: parse, C++
Posted-Date: 03 Aug 2006 11:02:17 EDT

Quinn Tyler Jackson schrieb:


> DoDi:
>> I've participated in the beta test of Meta-S, and this may have
>> influenced my opinion about useful parser generators. It's really a
>> great tool, with only few limitations :-)


> I consider a grammar
> broken (until proven otherwise) the moment it *must* call code in a
> reduction to know whether or not it should accept something as legal.


I'm just curious: could you make the C++ grammar work, so that it works
without an external disambiguation between typenames and other identifiers?


DoDi



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.