Next: Contents

Sather 1.0 Tutorial (ICSI TR 94-062)

Michael Philippsen

Version 0.1, Tue May 30 21:16:42 PDT 1995

Note: I HTMLified this document using latex2html and fixed some of the problems. However, tables and references did not come through. -- Ben Gomes

Tutorial Introduction

This document provides basic information on how to obtain your copy of the Sather 1.0 system and gives several pointers to articles discussing Sather 1.0 in more detail. We thoroughly describe the implementation of a basic chess program. By carefully reading this document and the discussed example program, you will learn enough about Sather 1.0 to start programming in Sather 1.0 yourself. This document is intended for programmers familiar with object oriented languages such as Eiffel or C++.

The main features of Sather 1.0 are explained in detail: we cover the difference between subtyping and implementation inheritance and explain the implementation and usage of iters. Moreover, the example program introduces all the class elements (constants, shared and object attributes, routines and iters). Most statements and most expressions are also discussed. Where appropriate, the usage of some basic features which are provided by the Sather 1.0 libraries are demonstrated. The Tutorial concludes by showing how an external class can be used to interface to a C program.

Tue May 30 21:15:13 PDT 1995