Re: A minimal LL(1) parser generator ?

carlglassberg@gmail.com
Wed, 1 Jan 2020 01:02:26 -0800 (PST)

          From comp.compilers

Related articles
A minimal LL(1) parser generator ? borucki.andrzej@gmail.com (Andy) (2019-12-21)
Re: A minimal LL(1) parser generator ? arnold@skeeve.com (2019-12-22)
Re: A minimal LL(1) parser generator ? anton@mips.complang.tuwien.ac.at (2019-12-26)
Re: A minimal LL(1) parser generator ? carlglassberg@gmail.com (2019-12-29)
Re: A minimal LL(1) parser generator ? gaztoast@gmail.com (2019-12-31)
Re: A minimal LL(1) parser generator ? anton@mips.complang.tuwien.ac.at (2019-12-31)
Re: A minimal LL(1) parser generator ? carlglassberg@gmail.com (2020-01-01)
Re: A minimal LL(1) parser generator ? gaztoast@gmail.com (honey crisis) (2020-01-02)
Re: A minimal LL(1) parser generator ? anton@mips.complang.tuwien.ac.at (2020-01-02)
Re: A minimal LL(1) parser generator ? gneuner2@comcast.net (George Neuner) (2020-01-02)
Re: A minimal LL(1) parser generator ? rockbrentwood@gmail.com (2020-01-04)
Re: A minimal LL(1) parser generator ? gaztoast@gmail.com (honey crisis) (2020-01-05)
Re: A minimal LL(1) parser generator ? carlglassberg@gmail.com (2020-01-05)
[7 later articles]
| List of all articles for this month |

From: carlglassberg@gmail.com
Newsgroups: comp.compilers
Date: Wed, 1 Jan 2020 01:02:26 -0800 (PST)
Organization: Compilers Central
References: 19-12-016 19-12-030 19-12-032 19-12-040
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="62468"; mail-complaints-to="abuse@iecc.com"
Keywords: LL(1)
Posted-Date: 01 Jan 2020 12:33:43 EST
In-Reply-To: 19-12-040

On Tuesday, December 31, 2019 at 8:42:51 AM UTC-8, Anton Ertl wrote:
> carlglassberg@gmail.com writes:
> >Gray's meta notation uses a postix operator "&&" for "separator list".
...
> >If Gray: "a b &&" ---> EBNF: "a { b a }"
...
> >then ...
...
> >"a b && c &&"
>
> The left operand of the second && would be "a b &&", so the whole
> thing would be equivalent to
>
> a {b a} {c {a {b a}}}
...


Should that be ?
a {b a} { c a {b a}}


Also, would
    a b && c d &&
parse as:
    a { b a } c { d c }
or as:
    a { b a } c { d a { b a } c }


???


Carl


Post a followup to this message

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