Effective Tcl/Tk Programming: Writing Better Programs with Tcl and Tk. Mark Harrison, Michael McLennan

Effective Tcl/Tk Programming: Writing Better Programs with Tcl and Tk


Effective.Tcl.Tk.Programming.Writing.Better.Programs.with.Tcl.and.Tk.pdf
ISBN: 0201634740,9780201634747 | 414 pages | 11 Mb


Download Effective Tcl/Tk Programming: Writing Better Programs with Tcl and Tk



Effective Tcl/Tk Programming: Writing Better Programs with Tcl and Tk Mark Harrison, Michael McLennan
Publisher: Addison-Wesley Professional




Labeled (aka keyword) arguments are present in many languages, e.g., Tcl/Tk, Ocaml, Perl -- and arguably contribute to their expressiveness. So it has lot of limitations :-(. The tcltk package in R adds GUI elements to R by allowing programmers to write GUI-driven modules by embedding Tk commands into the R language [5]. If this isn't a fully featured programming language, the user cannot create effective, scalable, and maintainable test suites. I thought several times about rewriting in Python (or in the Tcl/Tk which I have used more frequently). At the time I didn't envision Tcl being used as a stand-alone programming language, though that is probably the way that most people have used it. I know that it is not elegant but I initially wrote this program for very limited purposes. A case study: the decision to develop a commercial automated software testing tool with Tcl and Tk and its consequences. Many built-in It has taken the Java world and Microsoft the better part of fifteen years to get this right. The Tcl I would provide an execution framework and API that allowed test objects to be written in C/C++, Java or C#. With syntax-rules; Two pitfalls in programming nested R5RS macros; A dark, under-specified corner of R5RS macros; Macros with keyword (labeled) arguments; Macro-expand-time environments and S-expressions as identifiers; How to Write Applicative syntax-rules: macros that compose better. Commercial; AsteriskNOW is a Software Appliance; a customized Linux distribution that includes Asterisk, the Asterisk GUI (as above), and all other software needed for an Asterisk system. How does Tk fit into the picture?