StepTalk

From GNUstepWiki
Revision as of 08:59, 18 February 2005 by Stefan Urbanek (talk | contribs)
Jump to navigation Jump to search

StepTalk is the official GNUstep scripting framework. In fact, StepTalk is more than a scripting framework with an illusion of single objective environment between objects of scriptable servers or applications. StepTalk, when combined with the dynamism that the Objective-C language provides, goes way beyond mere scripting. It is language independent - it uses languages as separate bundles.

Introduction

The StepTalk features a framework, set of tools, language bundle, modules and object finders.

The framework provides an application interface for developers to make their products scriptable.

For more information about the tools, see StepTalk tools.

Concerning the scripting language, the StepTalk is a language independent framework It can be extended by the "language bundles" providing other scripting languages. One experimental language bundle for Guile is included in the sources package.

The default scripting language in StepTalk is Smalltalk. This is because Smalltalk is a very simple language and it is easy to learn. There are just a few basic principles that the user has to know to be able to use the language and it is close to the natural language.

Smalltalk uses a similar approach to that of Objective-C, the language used in GNUstep itself.

Object Finders are an illusion of single objective environment. Name of an object may me known, but the object itself not. The object may be an application or it may reside on other host. Object Finder is an object that will search for object by specified name.

  • Distributed Object Finder - This finder will try to look for a registered named object. It is possible to specify list of possible hosts where the object may reside and to specify a program that will provide the object if it cannot be found.
  • Application Finder - Looks for a locally installed application and tries to connect to it. If the application is not running, it will try to launch it.

The Framework

Classes:

Projects using StepTalk

MolTalk - a computational environment for doing Structural Bioinformatics. It interprets PDB formatted files and creates an object representation of the structure-chain-residue-atom hierarchy. Through the use of MolTalk, the PDB suddenly becomes an object-oriented database.


See also: Smalltalk.org