Author: Stan Eisenstat
Subject: Re: [Cs323] prefix
Date: Friday, 25 Sep 2020, 08:31:23
> Message Posted By: Unknown
>
> In prefix, If you see a local, do you return at the point, or do you
> continuing checking if you can see [prefix] [local]
When parsing the expression
A + B + C
with the grammar in the Addendum on Parsing Expressions,
you must continue after you see that A is a [term];
otherwise you could not parse the entire expression.
Similarly, when you see a [local] you must continue
until you find something that cannot be part of a
[prefix].
--Stan-
PREV
INDEX
NEXT