comp.lang.ada
 help / color / mirror / Atom feed
* Where is TASH, the Tcl/Tk binding?
@ 2007-04-19  8:34 Jerry
  2007-04-19 21:29 ` Simon Wright
  0 siblings, 1 reply; 5+ messages in thread
From: Jerry @ 2007-04-19  8:34 UTC (permalink / raw)


Where is TASH, the Tcl/Tk binding? Actually, I have the binding and
they are working for me (Mac OS X) but all of the links that I've
found to TASH have gone stale. I'm just wondering (a) if there is
documentation that I could benefit from and (2) has this project gone
quiet and I shouldn't use it?

Thanks,
Jerry




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Where is TASH, the Tcl/Tk binding?
  2007-04-19  8:34 Where is TASH, the Tcl/Tk binding? Jerry
@ 2007-04-19 21:29 ` Simon Wright
  2007-05-24 12:56   ` ezkcdude
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Wright @ 2007-04-19 21:29 UTC (permalink / raw)


Jerry <lanceboyle@qwest.net> writes:

> Where is TASH, the Tcl/Tk binding? Actually, I have the binding and
> they are working for me (Mac OS X) but all of the links that I've
> found to TASH have gone stale. I'm just wondering (a) if there is
> documentation that I could benefit from and (2) has this project
> gone quiet and I shouldn't use it?

It's at http://tcladashell.sourceforge.net/

It would be really neat if someone else was to show an interest in
joining the project! As things stand I've not got a lot of time to
spare; also, my preferred way of using Tcl and Ada is by extending the
interpreter, I see no point in providing bindings so that Tcl
facilities can be used by Ada programs -- write those bits in Tcl! --
so I'm not going to see where the holes/bugs in the current
implementation are.

I guess I should make a release; for the moment you'll have to use
CVS, http://sourceforge.net/cvs/?group_id=164395 . Bug reports
welcome ..



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Where is TASH, the Tcl/Tk binding?
  2007-04-19 21:29 ` Simon Wright
@ 2007-05-24 12:56   ` ezkcdude
  2007-05-24 13:07     ` Maciej Sobczak
  0 siblings, 1 reply; 5+ messages in thread
From: ezkcdude @ 2007-05-24 12:56 UTC (permalink / raw)


On Apr 19, 4:29 pm, Simon Wright <simon.j.wri...@mac.com> wrote:
> Jerry <lancebo...@qwest.net> writes:
> > Where is TASH, theTcl/Tkbinding? Actually, I have the binding and
> > they are working for me (Mac OS X) but all of the links that I've
> > found to TASH have gone stale. I'm just wondering (a) if there is
> > documentation that I could benefit from and (2) has this project
> > gone quiet and I shouldn't use it?
>
> It's athttp://tcladashell.sourceforge.net/
>
> It would be really neat if someone else was to show an interest in
> joining the project! As things stand I've not got a lot of time to
> spare; also, my preferred way of using Tcl and Ada is by extending the
> interpreter, I see no point in providing bindings so that Tcl
> facilities can be used by Ada programs -- write those bits in Tcl! --
> so I'm not going to see where the holes/bugs in the current
> implementation are.
>
> I guess I should make a release; for the moment you'll have to use
> CVS,http://sourceforge.net/cvs/?group_id=164395. Bug reports
> welcome ..

I understand not wanting to use Tcl+Ada, but how about calling Tk from
Ada? How does one go about doing that?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Where is TASH, the Tcl/Tk binding?
  2007-05-24 12:56   ` ezkcdude
@ 2007-05-24 13:07     ` Maciej Sobczak
  2007-05-24 15:57       ` ezkcdude
  0 siblings, 1 reply; 5+ messages in thread
From: Maciej Sobczak @ 2007-05-24 13:07 UTC (permalink / raw)


On 24 Maj, 14:56, ezkcdude <zamir.e...@gmail.com> wrote:

> I understand not wanting to use Tcl+Ada, but how about calling Tk from
> Ada? How does one go about doing that?

There is basically no way to call Tk directly. It was designed to be
called from Tcl interpreter.

Normally, the Tk library for whatever language has an *embedded* Tcl
interpreter that makes actual Tk calls. It is encapsulated, so you
might as well pretend you don't know about that interpreter somewhere
there. :-)

Interestingly, the Tkinter binding for Python also works this way (it
has "inter" in the name for a reason!), which brings a question why
the hell should we use two interpreters one on top of another...

Just for fun: http://cpptk.sourceforge.net/

--
Maciej Sobczak
http://www.msobczak.com/




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Where is TASH, the Tcl/Tk binding?
  2007-05-24 13:07     ` Maciej Sobczak
@ 2007-05-24 15:57       ` ezkcdude
  0 siblings, 0 replies; 5+ messages in thread
From: ezkcdude @ 2007-05-24 15:57 UTC (permalink / raw)


On May 24, 8:07 am, Maciej Sobczak <see.my.homep...@gmail.com> wrote:
> On 24 Maj, 14:56, ezkcdude <zamir.e...@gmail.com> wrote:
>
> > I understand not wanting to use Tcl+Ada, but how about calling Tk from
> > Ada? How does one go about doing that?
>
> There is basically no way to call Tk directly. It was designed to be
> called from Tcl interpreter.
>
> Normally, the Tk library for whatever language has an *embedded* Tcl
> interpreter that makes actual Tk calls. It is encapsulated, so you
> might as well pretend you don't know about that interpreter somewhere
> there. :-)
>
> Interestingly, the Tkinter binding for Python also works this way (it
> has "inter" in the name for a reason!), which brings a question why
> the hell should we use two interpreters one on top of another...
>
> Just for fun:http://cpptk.sourceforge.net/
>
> --
> Maciej Sobczakhttp://www.msobczak.com/

Thanks, when you put it that way, it doesn't make sense to me either.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-24 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-19  8:34 Where is TASH, the Tcl/Tk binding? Jerry
2007-04-19 21:29 ` Simon Wright
2007-05-24 12:56   ` ezkcdude
2007-05-24 13:07     ` Maciej Sobczak
2007-05-24 15:57       ` ezkcdude

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox