PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] simple
Date: Friday, 25 Sep 2020, 09:23:10


    > Message Posted By: Unknown
    >
    > "[simple]   = TEXT / [prefix] TEXT / TEXT [suffix] / [prefix] TEXT [suffix]"
    >
    > For simple, do we first check if the token is a text, then if its a text,
    > check if the one before that is a prefix? If the previous is not prefix,
    > then we check if the next one after the current text is a suffix? If not,
    > how does simple work?

No.  First you decide whether the token can be part of
a [prefix] or is a TEXT that cannot be.  If the former,
you complete the [prefix] and try again.

--Stan-
PREV INDEX NEXT