Zonnon Language Report 1st edition by Jürg Gutknecht, Eugene Zueff – Ebook PDF Instant Download/DeliveryISBN:
Full download Zonnon Language Report 1st edition after payment.
Product details:
Author : Jürg Gutknecht, Eugene Zueff
Zonnon is a general-purpose programming language in the Pascal, Modula-2 and Oberon family. It retains an emphasis on simplicity, clear syntax and separation of concerns whilst focusing on concurrency and ease of composition and expression. Unification of abstractions is at the heart of its design and this is reflected in its conceptual model based on modules, objects, definitions and implementations. Zonnon offers a new computing model based on active objects with their interaction defined by syntax controlled dialogs. It also introduces new features including operator overloading and exception handling, and is specifically designed to be platform independent.
Zonnon Language Report 1st Table of contents:
1 Introduction ……………………………………………………………………………………………………………………………………. 1
2 Program Construction ……………………………………………………………………………………………………………………. 1
3 Syntax Notation……………………………………………………………………………………………………………………………… 3
3.1 Definition of Extended Backus-Naur Formalism…………………………………………………………………… 3
3.2 EBNF defined in EBNF …………………………………………………………………………………………………………. 3
3.3 Description of EBNF ……………………………………………………………………………………………………………… 3
3.3.1 Sequence………………………………………………………………………………………………………………………… 3
3.3.2 Repetition ………………………………………………………………………………………………………………………. 3
3.3.3 Selection ………………………………………………………………………………………………………………………… 4
3.3.4 Option…………………………………………………………………………………………………………………………….. 4
3.3.5 Quotes and bold font ……………………………………………………………………………………………………… 4
4 Language Symbols and Identifiers …………………………………………………………………………………………………. 4
4.1 Vocabulary and Representation……………………………………………………………………………………………… 4
4.2 Identifiers ……………………………………………………………………………………………………………………………….. 4
4.3 Modifiers and Specifiers ………………………………………………………………………………………………………… 4
4.4 Numeric constants………………………………………………………………………………………………………………….. 5
4.5 Character constants ………………………………………………………………………………………………………………… 5
4.6 String constants ……………………………………………………………………………………………………………………… 5
4.7 Reserved Words, Delimiters and Operators …………………………………………………………………………… 5
4.7.1 Reserved Words …………………………………………………………………………………………………………….. 6
4.7.2 Delimiters ………………………………………………………………………………………………………………………. 6
4.7.3 Predefined Operators ……………………………………………………………………………………………………… 6
4.7.4 User-Defined Operators …………………………………………………………………………………………………. 6
4.8 Comments ………………………………………………………………………………………………………………………………. 6
5 Declarations …………………………………………………………………………………………………………………………………… 6
5.1 Identifier Declarations and Scope Rules ………………………………………………………………………………… 6
5.1.1 Declaration Modifiers …………………………………………………………………………………………………….. 7
5.2 Constant Declarations …………………………………………………………………………………………………………….. 7
5.3 Type Declarations ………………………………………………………………………………………………………………….. 7
5.3.1 Basic Types ……………………………………………………………………………………………………………………. 7
5.3.2 Enumeration Types ………………………………………………………………………………………………………… 8
5.3.3 Array Types……………………………………………………………………………………………………………………. 8
5.3.4 The string Type ……………………………………………………………………………………………………………… 9
5.3.5 Object Types ………………………………………………………………………………………………………………….. 9
5.3.6 Record Types ……………………………………………………………………………………………………………….. 10
5.3.7 Postulated Interface Types ……………………………………………………………………………………………. 10
5.3.8 Procedure Types …………………………………………………………………………………………………………… 10
5.3.9 Converting between Types …………………………………………………………………………………………… 10
5.4 Variable declarations ……………………………………………………………………………………………………………. 12
6 Expressions ………………………………………………………………………………………………………………………………….. 12
6.1 Operands and Designators ……………………………………………………………………………………………………. 12
6.2 Predefined Operators ……………………………………………………………………………………………………………. 13
6.2.1 Logical operators ………………………………………………………………………………………………………….. 13
6.2.2 Arithmetic operators …………………………………………………………………………………………………….. 13
6.2.3 Set Operators ………………………………………………………………………………………………………………… 13
6.2.4 Relations ………………………………………………………………………………………………………………………. 14
6.3 User-Defined Operators and Operator Declarations …………………………………………………………….. 14
6.3.1 Basic Operators that can be overloaded ……………………………………………………………………….. 14
6.3.2 New Operator Declarations ………………………………………………………………………………………….. 14
6.3.3 Rules governing overloading ……………………………………………………………………………………….. 15
6.4 Operator Precedence…………………………………………………………………………………………………………….. 16
6.5 Numeric resolution within expressions ………………………………………………………………………………… 16
7 Statements ……………………………………………………………………………………………………………………………………. 17
7.1 The Assignment Statement …………………………………………………………………………………………………… 17
7.2 The Procedure Call ………………………………………………………………………………………………………………. 18
7.3 The if Statement……………………………………………………………………………………………………………………. 18
7.4 The case Statement ………………………………………………………………………………………………………………. 18
Zonnon Language Report: Draft v02 r02 Printed on 2004-11-01
7.5 The while Statement …………………………………………………………………………………………………………….. 19
7.6 The repeat Statement……………………………………………………………………………………………………………. 19
7.7 The for Statement …………………………………………………………………………………………………………………. 20
7.8 The loop Statement ………………………………………………………………………………………………………………. 20
7.9 The return Statement ……………………………………………………………………………………………………………. 20
7.10 The Block and launch Statements ………………………………………………………………………………………… 20
7.10.1 Exception handling ………………………………………………………………………………………………………. 21
7.10.2 Concurrency Modifiers and the launch Statement ……………………………………………………….. 21
7.11 The await Statement …………………………………………………………………………………………………………….. 21
7.12 The send Statement ………………………………………………………………………………………………………………. 22
7.13 The receive Statement ………………………………………………………………………………………………………….. 22
7.14 The accept Statement …………………………………………………………………………………………………………… 22
8 Procedure (and Method) Declarations and Formal Parameters ……………………………………………………. 23
8.1 Procedure Modifiers …………………………………………………………………………………………………………….. 23
8.2 Properties ……………………………………………………………………………………………………………………………… 24
9 Predefined Procedures………………………………………………………………………………………………………………….. 25
10 Activities, Behavior and Interaction …………………………………………………………………………………………….. 25
10.1 Behavior……………………………………………………………………………………………………………………………….. 26
10.2 Interaction…………………………………………………………………………………………………………………………….. 26
10.3 Protocol EBNF …………………………………………………………………………………………………………………….. 26
10.4 Termination ………………………………………………………………………………………………………………………….. 27
10.5 Input and Output Procedures………………………………………………………………………………………………… 27
10.5.1 Parameters and special syntax ………………………………………………………………………………………. 27
10.5.2 Input Procedures…………………………………………………………………………………………………………… 28
10.5.3 Output Procedures………………………………………………………………………………………………………… 28
11 Program Units ………………………………………………………………………………………………………………………………. 29
11.1 The module …………………………………………………………………………………………………………………………… 29
11.2 The object as a unit of program composition ……………………………………………………………………….. 30
11.2.1 Inheritance: refinement and aggregation ………………………………………………………………………. 30
11.2.2 Multiple Inheritance……………………………………………………………………………………………………… 30
11.2.3 Polymorphism ………………………………………………………………………………………………………………. 30
11.3 The definition……………………………………………………………………………………………………………………….. 30
11.4 The implementation ……………………………………………………………………………………………………………… 31
12 Reflection …………………………………………………………………………………………………………………………………….. 32
12.1 XML Schema ……………………………………………………………………………………………………………………….. 32
12.1.1 Access rights ………………………………………………………………………………………………………………… 32
12.1.2 Objects …………………………………………………………………………………………………………………………. 32
12.1.3 Procedure parameters (parameter passing mode): ………………………………………………………… 33
12.1.4 Procedure and Variable immutability:………………………………………………………………………….. 33
12.1.5 Operator priority …………………………………………………………………………………………………………… 33
12.1.6 Blocks and Procedure bodies ……………………………………………………………………………………….. 33
12.1.7 Type, variable and constant widths………………………………………………………………………………. 33
12.1.8 Enumeration cardinality ……………………………………………………………………………………………….. 33
12.2 Example: program reflection and information ……………………………………………………………………… 33
13 Definition of Terminology …………………………………………………………………………………………………………… 34
13.1 Numeric types ………………………………………………………………………………………………………………………. 34
13.2 Same types……………………………………………………………………………………………………………………………. 34
13.3 Equal types …………………………………………………………………………………………………………………………… 34
13.4 Assignment compatible ………………………………………………………………………………………………………… 34
13.5 Array compatible ………………………………………………………………………………………………………………….. 34
13.6 Expression compatible and Operator Overloading……………………………………………………………….. 34
13.7 Matching formal parameter lists …………………………………………………………………………………………… 35
14 Syntax ………………………………………………………………………………………………………………………………………….. 35
15 References ……………………………………………………………………………………………………………………………………. 38
People also search for Zonnon Language Report 1st:
zonnon programming language
zona language
zoning report example
language zone
c language releases