help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] Posix: 2.3 Token Recognition & 2.10 Shell Grammar


From: Michael Convey
Subject: [Help-bash] Posix: 2.3 Token Recognition & 2.10 Shell Grammar
Date: Mon, 13 Jul 2015 08:12:54 -0700

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?​


reply via email to

[Prev in Thread] Current Thread [Next in Thread]