Author: Stan Eisenstat
Subject: Re: [Cs323] None
Date: Monday, 21 Sep 2020, 22:21:59
> Message Posted By: Anonymous
>
> Can we assume that tokens will be broken up by characters that return true
> for isspace()?
No.
=====
> In the spec I see the example:
> < A B | ( C 2> D & E < F ) > G ; H=I J K
> There is a space between the ( and C and another between F and ). If we
> see (C, or F) - without spaces - would (C count as one token, or do we
> have to catch this and split them up into ( and C as separate tokens?
The latter, as you can verify by running Hwk2/parsley.
--Stan-
PREV
INDEX
NEXT