|
From: Donald P. <d.g...@co...> - 2025-10-21 19:24:34
|
The {*} syntax introduced in Tcl 8.5 was a syntax for revising the determination of word boundaries. It needed to be connected to words.
That is not what the current discussion seeks.
The current discussion seeks to introduce syntax for a new form of substitution.
The particular proposal for syntax $(…) suffers from the problem that it is already a working substitution syntax for the substitution of an element in an array variable with the empty name.
Without thinking deeply and exhaustively about it, let me toss out the option of
$=(…)
This syntax does not currently perform a substitution. It is just literal text. Promoting it to a substitution syntax should be less disruptive.
DGP
|