PREV INDEX NEXT

Author: Unknown
Subject: reading command
Date: Wednesday, 23 Sep 2020, 18:33:27

If we see "echo a || echo b". When we are reading the command from left to right, and see "echo a", do we use the grammar in any way at this point to start the recursion? Or do we keep reading until we see "||", and then start evaluating the grammar?

If its just "echo a", how do we know that the command is simple from calling the grammar? Specifically, if we see "echo a" how do we know to use the rule for simples.
PREV INDEX NEXT