Re: Syntax, expressiveness and the beauty of Tcl
- From: Fredderic <put_my_name_here@xxxxxxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 22:43:59 +1000
On 31 Oct 2006 04:14:54 -0800,
"suchenwi" <richard.suchenwirth-bauersachs@xxxxxxxxxxx> wrote:
Fredderic schrieb:
So adding support for ${{...}} being equivalent to [expr {...}],I'm not sure whether it's cleaner and less confusing.. but
might actually make the syntax cleaner and slightly less confusing
than it already is anyhow, by giving it an actual defined meaning.
experimenting shows that the dollar parser's bevavior on braces is
surprising anyway:
45 % set x ${{hello world}}
can't read "{hello world": no such variable
So the first brace encountered is taken for closing, independent of
nesting depth?
*nods* That's exactly the point I was making...!
Fredderic
.
- References:
- Syntax, expressiveness and the beauty of Tcl
- From: Stephan Kuhagen
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Christian Gollwitzer
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Fredderic
- Re: Syntax, expressiveness and the beauty of Tcl
- From: suchenwi
- Syntax, expressiveness and the beauty of Tcl
- Prev by Date: Re: trouble getting started with Ruby and Tcl/Tk
- Next by Date: Re: trouble getting started with Ruby and Tcl/Tk
- Previous by thread: Re: Syntax, expressiveness and the beauty of Tcl
- Next by thread: Re: Syntax, expressiveness and the beauty of Tcl
- Index(es):
Relevant Pages
|