Author: Stan Eisenstat
Subject: Re: [Cs323] How < or > is stored
Date: Wednesday, 23 Sep 2020, 08:08:26
> Message Posted By: Unknown
>
> Hi, for < A B | C | D | E > F,
> on the spec, it shows: ...
> PIPE D
> / \
> < A B C
> However, when I run /c/cs323/Hwk2/parsley on this shell command, it shows
> CMD (Depth = 3): SIMPLE, argv[0] = B < A
>
> I wonder how < A B gets stored...whether it is "< A B" or "B < A"
The two are equivalent, graphical representations of the
CMD struct that parse() returns.
--Stan-
PREV
INDEX
NEXT