comparative tk syntaxes (was Re: Why you should not use Tcl)

Barry Merriman (barry@arnold.math.ucla.edu)
Thu, 29 Sep 94 20:15:46 GMT

In article <36eshf$cno@aurns1.aur.alcatel.com> throopw%sheol.uucp@dg-rtp.dg.com
(Wayne Throop) writes:
> Consider, for example STk and tkperl, as compared to tcl
> notations for the same thing.
>
> STk
>
> (define f (make <Frame>))
> (define l (make <Label>
> :parent f
> :text "A simple demo written in STklos"))
>
> tkperl
>
> $f = Frame::new($path);
> $l = Label::new($f, "-text" => "A simple demo written in tkperl");
>
> tcl/tk
>
> frame .f
> label .f.l -text "A simple demo written in tcl/tk"
>

Thanks for the comparison. Can anyone add in the Tkpython version?

--
Barry Merriman
UCLA Dept. of Math
UCLA Inst. for Fusion and Plasma Research
barry@math.ucla.edu (Internet; NeXTMail is welcome)