SPP Reference Manual


Preface


The Subset Preprocessor Language (SPP) is a programming language designed to develop applications in the IRAF programming environment. This is a reference manual intended to explain the language sufficiently to allow a programmer to develop useful applications. As such, it comprises two fundamental parts. The first is a detailed reference describing the lan- guage's features, syntax, and structure. The other is a fairly complete description of the interfaces to the IRAF environment. Separate chapters are devoted to error handling and making IRAF tasks. Four appendixes cover the system defined include files, detailed examples and other helpful hints, and utilities for debugging applications code. Appendix E describest the STSDAS tables utilities. Simple examples of specific concepts are scattered throughout this text. These are usually fragments of code intended to illustrate the concept under discussion. However, Appendix B contains a few complete examples.

This is not a programming textbook. It is assumed that the reader is con- versant with some programming language. Because of the similarity of SPP to Fortran and C, experience with those languages is certainly an asset. It is also assumed that the reader is familiar with IRAF to some extent. That is, that there is some experience with the concepts behind the structure of programs and rationale for the system. In addition, some knowledge of the IRAF command language (cl) is assumed.

Some comments on the syntax in this text may be useful.

SPP is a part of the IRAF application environment. IRAF was devel- oped by the National Optical Astronomy Observatories (NOAO), primarily for the analysis of astronomical data. Doug Tody is primarily responsible for the design and management of the IRAF core system, including SPP. Additional examples of how to develop IRAF applications code can be found in An Introductory User's Guide to IRAF SPP Programming by R. Seaman [Seaman92].

Chapter 1 of this manual is based largely on Doug Tody's A Reference Manual for the IRAF Subset Preprocessor [Tody83]. Chapter 2 draws from the design documents for the various interfaces, and Appendix E is based on earlier document by the STSDAS Group.


Generated with CERN WebMaker