Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh at perl conference and few questions



On Mon, Apr 23, 2018 at 3:06 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
>
> Simple minded namespaces --- allow dots in the variable works
> --- are trivial,

It's actually not that trivial because the same code for parsing an
"identifier" is used in a lot of places.  It's not possible to just
add "." to the set of identifier characters, because we don't want
$this.that to parse as ${this.that}, among other things.

Nevertheless this part --

> but the variable code is very complicated and working
> out how to do it properly is a big task that no one has been prepared to
> look at

-- is definitely the bigger part of the picture.  For one thing, it
would be ideal if true namerefs were working before namespaces were.



Messages sorted by: Reverse Date, Date, Thread, Author