Scriptics.com - The Script Archive

Tuesday, January 06th, 2009

TCL/TK

 

Tcl (pronounced "tickle") is a string-based scripting language and interpreter which was first designed and implemented by John Ousterhout. It was designed for easy learning, but it should provide all the powerful functions the expert programmer wants. It is popular for prototyping, scripting, designing Graphical user interfaces and easy testing.

Tcl comes from "Tool Command Language".

Tcl is a non-typed language, that means an expression can always been seen as a numeric value, a string or another value, conversions are done on-the-fly. All types are implemented as string, even lists are strings with embedded separating spaces.

Code is parsed only what is necessary for the completion of actual code. Strings can be evaluated as code within the script. Errors can be catched trough a catch command.

Tcl/Tk is the scripting language plus a graphical extension (Tk). Tk is a effective, easy to use GUI toolset for Tcl, but is also used by other script developers. It provides bindings to other languages, for instance Python and Ruby. In Perl is a "Tcl::Tk" Module available using Tcl for bridging.

 

Ice Link | Branchen Suche | Rackserver