StepTalk HowTo
--------------

NOTE: This file has to be written.

You may consult StepTalk header files.


How to create scripting environment?
------------------------------------

    STEnvironment *env;
    
    env = [STEnvironment sharedEnvironment];
or
    env = [STEnvironment environmentWithDefaultDescription];
or
    env = [STEnvironment environmentWithDescription:description];


How to register named objects in the scripting environment?
-----------------------------------------------------------

    [env setObject:object forName:@"ObjectName"];

like in:

    [env setObject:transcript forName:@"Transcript"];

See: STEnvironment, STContext

How to create a scripting engine?
---------------------------------

    STEngine *engine;

    engine = [STEngine engineForLanguage:langName];

See: STLanguageManager, STEngine

How to execute a code?
--------------------

    STEngine *engine;
    id        result;

    NS_DURING
        result = [engine interpretScript:string inContext:env];
    NS_HANDLER
        /* handle the exception */        
    NS_ENDHANDLER

See: STEngine, NSException

How to create a language bundle?
--------------------------------
    Languages/Smalltalk/SmalltalkEngine.m
    Languages/Smalltalk/SmalltalkEngine.h

    Languages/Smalltalk/STBytecodeInterpreter.m
        - sendSelectorAtIndex:withArgCount:
    
