Re: Syntax, expressiveness and the beauty of Tcl
- From: "suchenwi" <richard.suchenwirth-bauersachs@xxxxxxxxxxx>
- Date: 31 Oct 2006 04:14:54 -0800
Fredderic schrieb:
So adding support for ${{...}} being equivalent to [expr {...}], might
actually make the syntax cleaner and slightly less confusing than it
already is anyhow, by giving it an actual defined meaning.
I'm not sure whether it's cleaner and less confusing.. but
experimenting shows that the dollar parser's bevavior on braces is
surprising anyway:
15 % set {hello world} 1
1
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?
.
- Follow-Ups:
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Fredderic
- Re: Syntax, expressiveness and the beauty of Tcl
- 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
- Syntax, expressiveness and the beauty of Tcl
- Prev by Date: Re: Syntax, expressiveness and the beauty of Tcl
- Next by Date: ANNOUNCE: Splash library 0.3
- 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
|