TCL(It was first called "tool command language" and "tool command language", but it does not mean it now, but we still call it TCL). It is a string-based scripting language. Created by John Ousterhout. TCL is very studious and powerful. TCL is often used for rapid prototyping, Script Programming, Gui and testing. Tickle in TCl ). TCL has the following features:
- Everything is a command, including the syntax structure (for, if, etc ).
- Everything can be redefined and reloaded.
- All data types can be considered as strings.
- Syntax Rules are quite simple.
- Event-driven socket and files are provided. Time-based or user-defined events can also be used.
- Dynamic domain definition.
- It is easy to use C, C ++, or Java extension.
- Explanation language and code can be dynamically changed.
- Full Unicode support.
- Platform independent. Win32, UNIX, and Mac.
- Closely integrated with Windows GUI
- The code is compact and easy to maintain.
TCL itself provides object-oriented support in the 8.6 S. Because the language itself is easily extended to support object-oriented, many C language extensions provided object-oriented capabilities before 8.6, including xotcl and incr TCL. In addition, SNIT extensions are written in TCl.
TK is the most widely used TCL extension. TK provides graphical user interface GUI for various OS platforms. Even the powerful Python language does not provide its own GUI, but provides interfaces to adapt to TK. Another popular extension package is the mobile CT. Mobile CT which provides the ability to automatically execute commands through terminals, such as passwd, FTP, telnet, and other command-driven shells ).
You can access ActiveState to download and install the latest TCL version. Common versions include 8.2, 8.4, and 8.5.
It is very convenient to compile TCL. Because it is a scripting language, you can directly write it with notepad. As long as the current system has installed TCL, you can directly run it. Of course, you can also use more powerful text tools, such as ultraedit (supporting syntax coloring), ps3( supporting syntax coloring), and Komodo IDE.