Re: Some questions about recursive descent?

Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Wed, 2 Mar 2022 05:52:46 +0100

          From comp.compilers

Related articles
[2 earlier articles]
Re: Some questions about recursive descent? DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2022-02-28)
Re: Some questions about recursive descent? anton@mips.complang.tuwien.ac.at (2022-02-28)
Re: Some questions about recursive descent? alain@universite-de-strasbourg.fr.invalid (Alain Ketterlin) (2022-02-28)
Re: Some questions about recursive descent? johann@myrkraverk.invalid (Johann 'Myrkraverk' Oskarsson) (2022-03-01)
Re: Some questions about recursive descent? anton@mips.complang.tuwien.ac.at (2022-03-01)
Re: Some questions about recursive descent? alain@universite-de-strasbourg.fr (Alain Ketterlin) (2022-03-01)
Re: Some questions about recursive descent? DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2022-03-02)
Re:Some questions about recursive descent? xdpascal@xdpascal.com (Paul Robinson) (2022-03-05)
| List of all articles for this month |
From: Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Newsgroups: comp.compilers
Date: Wed, 2 Mar 2022 05:52:46 +0100
Organization: Compilers Central
References: 22-02-021 22-02-024 22-02-026 22-02-027
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="21177"; mail-complaints-to="abuse@iecc.com"
Keywords: parse, LL(1)
Posted-Date: 02 Mar 2022 09:50:40 EST
In-Reply-To: 22-02-027

On 3/1/22 2:40 AM, Johann 'Myrkraverk' Oskarsson wrote:


> where previous steps are also shown[1].  Then figure 3.14 shows a
> predictive parsing table, presumably constructed using the FIRST
> and FOLLOW sets.
>
>           a            c             d
>     +-----------------------------------------+
>   X |  X -> a        X -> Y        X -> Y     |
>     |  Y -> Y                                 |


Just a typo correction: In (X,a) the second alternative should read
      X -> Y
not Y -> Y.


DoDi


Post a followup to this message

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