News for hackers. Stuff that matters.
Re:Most programmers don't know what Expect can do for them by loulouxiv on Sunday September 08, 2019 @06:30AM (#20909650)
Tcl seems to be an interesting language to learn, but I am not sure what kind of toy project I could do with it. Is there any links to modern libraries, blogs or websites discussing its use you could share with us ?
Re:Most programmers don't know what Expect can do for them by _ph_ on Monday September 09, 2019 @05:30AM (#20916569)
Not sure what qualifies for a modern library. But you will find out that there are libraries for tcl for basically any purpose you might need. The most fameous one certainly is the tk library for creating GUIs. So doing a small gui might be a nice start, or any shell utility. The asynchroneus IO functions are great for creating small internet based servers and utilities. The most fundamental resource on tcl is probably the book by the creator, its worth a read: https://www.amazon.com/Tcl-Toolkit-2nd-John-Ousterhout/dp/03...

It not only covers the language and its usage but goes into depth of both extending tcl in C as well as embedding it into an application for scripting it.

Re:Most programmers don't know what Expect can do for them by blacksqr on Sunday September 08, 2019 @11:33AM (#20911125)
The Tcler's wiki is a frequently-updated site with over 20 years of accumulated information and code respecting Tcl/Tk.

https://wiki.tcl-lang.org/welcome

Re:Most programmers don't know what Expect can do for them by ptsneves on Sunday September 08, 2019 @07:50AM (#20909967)
There are plenty of resources but probably in book form. My first Linux book had an intro to Tcl/tk. I disagree with the op that tcl/tk is not dead. Yeah it still exists but it is rarely used and younger systems programmers/Admins never had to use it. It was a bit of a stop gap solution to create GUIs when there was rarely any. The expect functionality though it completely replaced by pexpect so it makes little sense to learn tcl/tk for such a use.
Re:Most programmers don't know what Expect can do for them by blacksqr on Sunday September 08, 2019 @11:18AM (#20911037)