ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

Tool Command Language (Tcl)

Definition - What does Tool Command Language (Tcl) mean?

Tool command language (Tcl) is a powerful scripting language with programming features. It is available across Unix, Windows and Mac OS platforms. Tcl is used for Web and desktop applications, networking, administration, testing, rapid prototyping, scripted applications and graphical user interfaces (GUI).

Techopedia explains Tool Command Language (Tcl)

Introduced in 1988 by John Ousterhout, Tcl is used for common gateway interface (CGI) scripting and serves as the Eggdrop bot scripting language. Tcl/Tk refers to a combination of Tcl and the Tk GUI toolkit.

Tcl features include:

  • Complete Unicode and cross-platform usage
  • Extensibility through Java and C++
  • Integration with Windows GUI toolkit
  • Data types, including source code, may be manipulated as strings.
  • Event-driven interface to sockets and files
  • Variadic function commands and interpreted language with bytecode
  • Error message generation on incorrect usage by Tcl commands.
  • FreeWrap TCLSH
  • Berkeley Software Distribution (BSD) license
  • Full development version
Tcl interfaces with the C language. Arrays of values that describe command arguments are passed to the command implementation functions. Digital logic simulators also include a Tcl scripting interface for Verilog, VHSIC hardware description language (VHDL) and SystemVerilog hardware language simulation. Tools like Simplified Wrapper and Interface Generator (SWIG) and ffidl automatically generate the code required to connect arbitrary C functions and Tcl runtime. Tcl scripts house command invocations as a list of words separated by whitespace and terminated by a newline or semicolon.

Major substitutions supported by Tcl are command substitution, variable substitution and backslash substitution. Additionally, there is a database access interface for Tcl scripts that supports access drivers for MySQL, Open Database Connectivity (ODBC), PostgreSQL and SQLite databases.

Tcl supports extension packages for additional functionality, including GUI, terminal-based application automation and database access.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.