This example shows how to expose Smalltalk functionality to a Java program.
A printer implemented in Smalltalk is used from Java; there is no inheritance
across languages, just object instantiation and method invocation.  The
following files are part of the example:

smalltalkprinter.pcs: printer component declaration
SmalltalkPrinter.st: printer implementation, in Smalltalk

  The Smalltalk component declaration indicates that the SmalltalkPrinter
  class is exported (making it available to other languages).  The
  implementation of this class includes type annotations that define
  the parameter and return types of the methods that are to be made
  visible to other languages.

hellosmalltalk/hellosmalltalk.pcs: main program component declaration
hellosmalltalk/HelloSmalltalk.java: main program implementation, in Java

  The Java component simply requires the Smalltalk-implemented component.
  Passing the Java compiler the switch '-IDL' instructs it to read the
  type definitions directly from the component (which must be in the
  '-extdirs' path).

The default make target will build the components and launch the program.

Running the program should produce the following output:

  This is the Smalltalk printer, printing: "HelloWorld from Java"
  Smalltalk integer printing service. Now showing printer version number = 87
  
(currently, this is preceeded by a massive amount of warnings from the VM).
