Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.lightlink.com!rahul.net!wasp.rahul.net!rahul.net!news.misty.com!news.iecc.com!nerds-end From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.compilers Subject: Re: How detect cycle in grammar ? Date: Tue, 22 Nov 2011 15:20:06 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 15 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <11-11-046@comp.compilers> References: <11-11-041@comp.compilers> <11-11-045@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: leila.iecc.com 1322277189 40962 64.57.183.58 (26 Nov 2011 03:13:09 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Sat, 26 Nov 2011 03:13:09 +0000 (UTC) Keywords: parse, design Posted-Date: 25 Nov 2011 22:13:09 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: x330-a1.tempe.blueboxinc.net comp.compilers:348 Gene writes: >Nonterminals that can never derive a terminal string are the >problem. Is it really? Since they cannot derive a terminal, they have no influence on the language described by the grammar. They might just as well not be there. Are they really a problem (except for certain implementation techniques)? - anton -- M. Anton Ertl anton@mips.complang.tuwien.ac.at http://www.complang.tuwien.ac.at/anton/