Misplaced Pages

Sather

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

Sather is an object-oriented programming language . It originated circa 1990 at the International Computer Science Institute (ICSI) at the University of California, Berkeley , developed by an international team led by Steve Omohundro . It supports garbage collection and generics by subtypes .

#121878

5-685: Originally, it was based on Eiffel , but it has diverged, and now includes several functional programming features. The name is inspired by Eiffel; the Sather Tower is a recognizable landmark at Berkeley, named after Jane Krom Sather , the widow of Peder Sather , who donated large sums to the foundation of the university. Sather also takes inspiration from other programming languages and paradigms: iterators , design by contract , abstract classes , multiple inheritance , anonymous functions , operator overloading , contravariant type system. The original Berkeley implementation (last stable version 1.1

10-409: A parallel version of ICSI Sather addressing non-uniform memory access multiprocessor architectures but presenting a shared memory model to the programmer. The former ICSI Sather compiler (now GNU Sather) is implemented as a compiler to C , i.e., the compiler does not output object or machine code, but takes Sather source code and generates C source code as an intermediate language . Optimizing

15-444: Is enforced by the compiler.) upto! is a method of the INT class accepting one once argument, meaning its value won't change as the iterator yields. upto! could be implemented in the INT class with code similar to the following one. Type information for variables is denoted by the postfix syntax variable:CLASS . The type can often be inferred and thus the typing information

20-561: Is left to the C compiler. The GNU Sather compiler, written in Sather itself, is dual licensed under the GNU GPL & LGPL . A few remarks: This program prints numbers from 1 to 10. The loop ... end construct is the preferred means of defining loops, although while and repeat - until are also available. Within the construct, one or more iterators may be used. Iterator names always end with an exclamation mark. (This convention

25-621: Was released in 1995, no longer maintained) has been adopted by the Free Software Foundation therefore becoming GNU Sather. Last stable GNU version (1.2.3) was released in July 2007 and the software is currently not maintained. There were several other variants: Sather-K from the University of Karlsruhe ; Sather-W from the University of Waikato (implementation of Sather version 1.3); Peter Naulls' port of ICSI Sather 1.1 to RISC OS ; and pSather,

#121878