libs-steptalk/Examples
David Ayers ddc9d205af * STEngine.h: Fixed declaration to match implementation to avoid
compiler warnings.
    * STEnvironment.h: Ditto.
    * STScriptsManager.h: Ditto.
    * STLanguage.h: Corrected declaration.
    * STScriptsManager.m: Added needed interface declaration.
    * GNUmakefile:  Added flags to show all warnings except for import.
    * Module/ObjectiveC/GNUmakefile:  Added flags to show all warnings
    except for import.
    * Module/Foundation/GNUmakefile:  Added flags to show all warnings
    except for import.
    * Module/AppKit/AppKitExceptions.m: Used variable to supress compiler
    warnings.
    * Module/AppKit/AppKitNotifications.m: Ditto.
    * Module/AppKit/GNUmakefile:  Added flags to show all warnings except
    for import.
    * Module/GDL2/GDL2Constants.m: Used variable to supress compiler
    warnings.
    * Module/GDL2/GNUmakefile: Added flags to show all warnings except
    for import.
    * Module/SimpleTranscripts/GNUmakefile: Added flags to show all warnings
    except for import.
    * Module/StepTalk/GNUmakefile: Added flags to show all warnings
    except for import.
    * Tools/stalk.m: Added needed interface declaration.
    * Tools/stupdate_languages.m: Corrected variable declaration and added
    cast.

ApplicationScripting
    * GNUmakefile: Added flags to be able to compile from the building
    directories and show all warnings except for import.
    * NSApplication+additions.m: Added import of needed headers.  Added
    interface declarations to supress compiler warnings.  Commented unused
    variables to supress compiler warnings.  Corrected variable types and
    added necessary casts.
    * STScriptingSupport.m: Added interface declaraions to supress
    compiler warnings.

Examples/Shell
    * GNUmakefile: Added flags to show all warnings except for import.
    * STShell.m: Unified name for private categories.

Examples/Server
    * ChangeLog: Added new file.
    * GNUmakefile: Added flags to show all warnings except for import.

Languages/Smalltalk/ChangeLog
    * GNUmakefile: Added flags to show all warnings except for import.
    * STBlock.m: Initialzed variables to supress compiler warnings.
    * STCompiledMethod.m: Added needed import.
    * STCompiler.m: Added missing declaration.  Wrapped declarations only
    needed for DEBUG into #ifdefs to supress compiler warnings.
    Initialzed variables to supress compiler warnings.
    * STExecutionContext.m: Unified name for private categories.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@16351 72102866-910b-0410-8b05-ffd578937521
2003-04-04 10:57:04 +00:00
..
AppKit Initial revision 2002-05-13 22:13:06 +00:00
Developer Added developer examples 2003-01-20 16:03:45 +00:00
Server * STEngine.h: Fixed declaration to match implementation to avoid 2003-04-04 10:57:04 +00:00
Shell * STEngine.h: Fixed declaration to match implementation to avoid 2003-04-04 10:57:04 +00:00
Smalltalk Initial revision 2002-05-13 22:13:06 +00:00
ReadMe.txt Initial revision 2002-05-13 22:13:06 +00:00

Smalltalk examples
------------------

  Smalltalk examples are included in Smalltalk directory.


  math.st
      Simple example.

      > stexec math.st


  hello.st
      Example to show block closures, symbolic selectors and ussage of arguments.

      > stexec hello.st
      > stexec hello.st World


  createFile.st

      Try to create a file. Example to show how the restricted scriptiong works.

      This will work fine:
      > stexec createFile.st

      This would not:
      > stexec --environment Safe createFile.st


  exception.st

      Same as createFile.st but handles the exception. 

      This will work fine:
      > stexec exception.st

      This will end with handled exception:
      > stexec --environment Safe exception.st

  listDir.st
  
      List content of current directory.
      
      > stexec listDir.st

  plparse.st, pldes.st

      GNUstep tools written in smalltalk

      > stexec plparse.st file1 file2 ...



Scriptable server example
-------------------------

  To compile type

      > make

  Then run server

      > opentool Server

  Then from same directory, but in another terminal try

      > stalk Server talkToServer.st
      > stalk Server talkToServer.st "Hi there!"