Michael Convey
2015-07-13 15:12:54 UTC
I've read these two sections -- more than once actually, but my
understanding of them is still unsatisfactory. Here are the sources:
- Token Recognition:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_03
- Shell Grammar:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10
I find the following shell grammar excerpt particularly confusing:
"When a TOKEN is seen where one of those annotated productions could be
used to reduce the symbol, the applicable rule shall be applied to convert
the token identifier type of the TOKEN to a token identifier acceptable at
that point in the grammar. The reduction shall then proceed based upon the
token identifier type yielded by the rule applied."
Is there a book or some other source that provides a layman's exposition
of these two sections?
understanding of them is still unsatisfactory. Here are the sources:
- Token Recognition:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_03
- Shell Grammar:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10
I find the following shell grammar excerpt particularly confusing:
"When a TOKEN is seen where one of those annotated productions could be
used to reduce the symbol, the applicable rule shall be applied to convert
the token identifier type of the TOKEN to a token identifier acceptable at
that point in the grammar. The reduction shall then proceed based upon the
token identifier type yielded by the rule applied."
Is there a book or some other source that provides a layman's exposition
of these two sections?