next-scripting.org 提供一个基于Tcl的,面向对象(OO)的框架和扩展。
其中面向对象的框架被叫做NSF (Next Scripting Framework),它提供三种面向对象的实现:
-
NX
-
XOTcl
-
TclCool
NX is a highly flexible, Tcl-based, object-oriented scripting language. It is a descendant of XOTcl and was designed based on 10 years of experience with XOTcl in projects containing several hundred thousand lines of code. While XOTcl was the first language designed to provide language support for design patterns and to provide a highly dynamic programming environment, the Next Scripting Framework (NSF) and NX add to these features support for language-oriented programming.
下面是一个其网站上列出的,用NX定义的Stack的例子:
NX继承自XOTcl。