Wikipedia:

Itcl

Itcl
Tcl.svg
Paradigm: multi-paradigm: object-oriented, functional, Imperative, event-driven programming
Appeared in: 1993
Designed by: Michael McLennan
Developer: Michael McLennan
Latest release: itcl3.0
Typing discipline: dynamic typing, everything can be treated as a string
Influenced by: Tcl, C++

incr Tcl (the name is a pun on "[[C++]]", and often abbreviated to "itcl") is a set of object-oriented extensions for the Tcl programming language. It is widely used among the Tcl community, and is generally regarded as industrial strength [citation needed]. Itcl implementations exist as both a package that may be dynamically loaded by a Tcl application, as well as an independent standalone language with its own interpreter.

Overview

Features

Namespace Support

Itcl allows namespaces to be used for organizing commands and variables.

Example:

  namespace symbol {
       namespace counter {
           variable num 0
 
           proc next {{by 1}} {
               global num
               incr num $by
               return $num
           }
       }
 
       proc next {name} {
           return "$name[counter::next]"
       }
   }

::symbol::counter::num

C/C++ Code Integration

Itcl has built-in support for the integration of C/C++ code into Itcl classes.

Licensing

Itcl follows the same copyright restrictions as Tcl/Tk. You can use, copy, modify and even redistribute this software without any written agreement or royalty, provided that you keep all copyright notices intact. You cannot claim ownership of the software; the authors and their institutions retain ownership, as described in the "license.terms" files included in the standard distribution. For more information please see incrtcl.sourceforge.net/itcl/copyright.html.

See also

External links

References

[incr Tcl] from the Ground Up by Chad Smith, published in January 2000.

This is a complete reference manual for [incr Tcl], covering language fundamentals, OO design issues, overloading, code reuse, multiple inheritance, abstract base classes, and performance issues. Despite its breadth, it follows a tutorial, rather than encyclopedic, approach. This book is out of print as of September 2004.

 
 
 

Join the WikiAnswers Q&A community. Post a question or answer questions about "Itcl" at WikiAnswers.

 

Copyrights:

Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Itcl" Read more

Search for answers directly from your browser with the FREE Answers.com Toolbar!  
Click here to download now. 

Get Answers your way! Check out all our free tools and products.

On this page:   E-mail   print Print  Link  

 

Keep Reading

Mentioned In: