Sommaire

NAME

SYNOPSIS

xotclsh?filename arg arg ...?

DESCRIPTION

xotclsh is a shell-like application that reads XOTcl commands from its standard input or from a file and evaluates them. Similarly as the relation between tclsh and wish, xowish provides all functionality of xotclsh and provides as well predefined support for TK widgets.

XOTcl (XOTcl, pronounced exotickle) is an object-oriented scripting language based on MIT's OTcl. It is intended as a value added replacement of OTcl.

Scripting languages, such as Tcl, are designed for glueing components together, provide features such as dynamic extensibility and dynamic typing with automatic conversion, that make them well suited for rapid application development.

The object system of XOTcl enables a user to to define objects, classes, and meta-classes. Classes are special objects with the purpose of managing other objects. ``Managing'' means that a class controls the creation and destruction of its instances and that it contains a repository of methods accessible for the instances. Every object may be enhanced with object-specific methods. XOTcl supports single and multiple inheritance. All object-class and class-class relationships in XOTcl are introspectable and can be dynamically changed at arbitrary times. Ambiguities in name resolution of methods are avoided through method chaining through "next", which does not require explicit method naming.

XOTcl combines the ideas of scripting and object-orientation in a way that preserves the benefits of both of them. It is equipped with several new language constructs that help building and managing complex systems. We added the following support: