4 ms·
I remember trying Tcl/Tk many years ago during high-school: the syntax was interesting and building GUI applications was extremely easy. I don't know why Tcl is
by pera 9y ago
I remember trying Tcl/Tk many years ago during high-school: the syntax was interesting and building GUI applications was extremely easy. I don't know why Tcl is not popular today, but there is one pretty cool Unix tool that uses/extends it called Expect [1]
Expect lets you automatize user interaction with terminal applications. And then there is DejaGnu, a testing framework, that uses Expect and Tcl. Probably the most important software project using DejaGnu right now is the GNU Compiler Collection. A not so significative project that also uses it is the interpreter of my toy language :) it took me a little bit to understand how to integrate it with Autotools but now I really like it (here is an example: https://github.com/pera/ad-hoc/blob/master/testsuite/ahci/dg.exp https://github.com/pera/ad-hoc/blob/master/testsuite/ahci/dg...).
[1] - http://expect.sourceforge.net/ http://expect.sourceforge.net/
[2] - https://www.gnu.org/software/dejagnu/ https://www.gnu.org/software/dejagnu/