This sample is some sort of 'bootstrap' of the structurer and
flattener. It contains the OBST schema 'sfb' which is a copy of 'stf'
which is actually used for STF. It further contains an STF grammar
sfb.stf and a main program.

As for installing STF, you must have setup your container directory and search
path (see STF installation).

To make the sample, you might have to edit the Makefile and replace APPLDIR
by the absolute path name of the directory where STF is installed.
Changing APPLDIR seems to be necessary for the CC compilation drivers of the
AT&T C++ system.

You must set the OBST working directory (see Directory(3)) to some directory,
where your grammar shall be stored. In order to avoid name clashes with
the schema modules, create a new OBST directory, say 'stf_grammars'
in the root directory, for example by using 'obst-dir' (see OBST manual pages).
Create a second OBST directory, say 'stf_sample' in the same way; we will need
this later. You may also consider creating these directories using the
program 'make_directories' which is build by

   make mdir

Then type

   setenv OBSTDIR /stf_grammars

Finally, type

   make

in the directory in which you find this README file to produce a binary for the
structurer for the schema and grammar of 'sfb'. You now have your structurer
in the bin directory. Before running the structurer, reset the OBST working
directory by typing

   setenv OBSTDIR /stf_sample

You can now apply the generated structurer to its own description, by typing

   cat src/sfb.stf | bin/sfb

This will generate an sfb_Grammar object in the OBST directory /stf_sample.
You may inspect this object, for example, with the graphic shell 'obst-gsh'.
