Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zmv exits from function
On Sun, Dec 31, 2023 at 7:53 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> So that's multi-pass parsing.
Again, no. It's only parsed once, into an internal format
(essentially, the same format used for "zcompile" files) and then
executed if syntactically correct. The only way to get another parse
is to use "eval".
Expansion and word splitting on can occur during execution, but that
doesn't change the syntax tree. Parsing does happen inside command
substitution but is limited to that syntactic scope.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author