The NetRexx Language

Автор: Mike Cowlishaw

Дата: 1997

Скачать книгу v 3.0 в формате pdf.

ISBN 0-13-806332-X

The Prentice Hall publication that contains the Language Definition and introduced NetRexx to the world.

Contents

Part 1: NetRexx Language Definition 1
    Section 1: Notations 2
    Section 2: Characters and Encodings 3
    Section 3: Structure and General Syntax 4
    Section 4: Types and Classes 11
    Section 5: Terms 13
    Section 6: Methods and Constructors 19
    Section 7: Type conversions 25
    Section 8: Expressions and Operators 28
    Section 9: Clauses and Instructions 36
    Section 10: Assignments and Variables 37
    Section 11: Indexed strings and Arrays 42
    Section 12: Keyword Instructions 45
    Section 13: Class instruction 46
    Section 14: Do instruction 49
    Section 15: Exit instruction 51
    Section 16: If instruction 52
    Section 17: Import instruction 53
    Section 18: Iterate instruction 55
    Section 19: Leave instruction 56
    Section 20: Loop instruction 57
    Section 21: Method instruction 65
    Section 22: Nop instruction 70
    Section 23: Numeric instruction 70
    Section 24: Options instruction 72
    Section 25: Package instruction 75
    Section 26: Parse instruction 76
    Section 27: Properties instruction 77
    Section 28: Return instruction 79
    Section 29: Say instruction 79
    Section 30: Select instruction 80
    Section 31: Signal instruction 82
    Section 32: Trace instruction 83
    Section 33: Program structure 87
    Section 34: Special names and methods 90
    Section 35: Parsing templates 94
    Section 36: Numbers and Arithmetic 102
    Section 37: Binary values and operations 114
    Section 38: Exceptions 117
    Section 39: Methods for NetRexx strings 120
Appendix A: NetRexx Syntax Diagrams 143
Index 151

NetRexx Language Definition

This part of the book describes the NetRexx language, version 1.00.

The language is described first in terms of the characters from which it is composed and its low-level syntax, and then progressively through more
complex constructions. Finally, special sections describe the semantics of the more complicated areas.

Some features of the language, such as options keywords and binary arithmetic, are implementation-dependent. Rather than leaving these important
aspects entirely abstract, this description includes summaries of the treatment of such items in the reference implementation of NetRexx. The reference
implementation is based on the Java environment and class libraries.

Paragraphs that refer to the reference implementation, and are therefore not strictly part of the language definition, are shown in italics, like this one.