EECS 298-11: CAD Seminar Wednesday, January 18, 5pm 531 Cory Hall, Hogan Room An Introduction to Tcl/Tk Stephen Edwards Berkeley CAD Group Tcl/Tk form a powerful system for building interactive, graphical applications. Tcl is an embeddable scripting language, and Tk is a set of user interface "widgets" such as menus, entries, and scrollbars. I will describe the two packages, explain how they can be used, propose some possible applications, and suggest how to get started using them. Tcl, "Tool Command Language," is a high-level interpreted language created by Berkeley's (former) Prof. John Ousterhout that uses strings as its primary datatype. Its syntax resembles csh, and it can be used like awk or perl. However, its strength is its ability to be embedded in other programs and easily extended with new commands written in C. Tk, also by Ousterhout, is an X toolkit implemented in Tcl (i.e., a set of new Tcl commands) that provides a very high-level interface to such things as buttons, menus, scrollbars, and lists. A few lines of Tk code can replace hundreds of lines of C or C++. Complete graphical applications can be developed in minutes. You may view the slides, which I created with Tcl/Tk, on an X workstation with: cd ~sedwards/berkeley/presentations/tcltk projector Future Seminars: January 25 - Allen Emerson, U. of Texas "Utilizing Symmetry when Model Checking: an Automata-theoretic Approach" February 1 - David Dill, Stanford "Hierarchical Models of Synchronous Circuits" February 8 - Masahiro Fujita, Fujitsu Labs "Logic Verification and Synthesis with Temporal Logic"