OTcl - Object Tcl Extensions
The CMT project has adopted OTcl as the base for the CMT Media Playback API, but unfortunately found MIT Version 0.96 to be lacking a couple of needed features, as well as not being compatible with Tcl/Tk 8.0. We are therefore including our modified version of OTcl with CMT 4.0.
What is OTcl?
OTcl, short for MIT Object Tcl, is an extension to Tcl/Tk for object-oriented programming. It shouldn't be confused with the IXI Object Tcl extension by Dean Sheenan. Some of OTcl's features as compared to alternatives are:
- designed to be dynamically extensible, like Tcl, from the ground up
- builds on Tcl syntax and concepts rather than importing another language
- compact yet powerful object programming system (draws on CLOS, Smalltalk, and Self)
- fairly portable implementation (2000 lines of C, without core hacks)
For documentation about objects, classes, and their capabilities, see the following reference pages:

0 条评论:
发表评论
<< 主页