Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.snarked.org!news.linkpendium.com!news.linkpendium.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Christopher F Clark Newsgroups: comp.compilers Subject: Re: How change grammar to equivalent LL(1) ? Date: Mon, 23 Dec 2019 05:57:50 -0500 Organization: Compilers Central Lines: 19 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <19-12-023@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="59138"; mail-complaints-to="abuse@iecc.com" Keywords: LL(1) Posted-Date: 23 Dec 2019 21:52:56 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:2404 Just a slight comment on what Lasse =?iso-8859-1?q?Hiller=F8e?= Petersen wrote: The technique of changing: Expr: num | num plus Expr; to Expr: num ExprTailOpt; ExprTailOpt: plus Expr | /* empty */; is called left-factoring. By the way, "Opt" is the usual suffix for Ety. -- ****************************************************************************** Chris Clark email: christopher.f.clark@compiler-resources.com Compiler Resources, Inc. Web Site: http://world.std.com/~compres 23 Bailey Rd voice: (508) 435-5016 Berlin, MA 01503 USA twitter: @intel_chris ------------------------------------------------------------------------------