ITU-T HDBK CUM-1986 Chill User-s Manual《冷用户手册 236pp》.pdf
《ITU-T HDBK CUM-1986 Chill User-s Manual《冷用户手册 236pp》.pdf》由会员分享,可在线阅读,更多相关《ITU-T HDBK CUM-1986 Chill User-s Manual《冷用户手册 236pp》.pdf(235页珍藏版)》请在麦多课文档分享上搜索。
1、_ - STDmITU-T HDBK CUM-ENGL 1986 48b2591 Ob82532 541 m INTERNATIONAL TELECOMMUNICATION UNION CCITT THE INTERNATIONAL TELEGRAPH AND TELEPHONE CON SU LTATIVE COM M IlTEE THE CCITT HIGH LEVEL LANGUAGE CHILL USERS MANUAL Geneva 1986 - STD*ITU-T HDBK CUM-ENGL 1986 48b259L Ob82533 488 INTERNATIONAL TELECO
2、MMUNICATION UNION CCITT THE INTERNATIONAL TELEGRAPH AND TELEPHONE CONSULTATIVE COM MITTEE THE CCITT HIGH LEVEL LANGUAGE CHILL USERS MANUAL Geneva 1986 ISBN 92-61 -02601 -X STDmITU-T HDBK CUM-ENGL 1786 m 4b257L Ob27bb 79b 111 O I.T.U. . STD-ITU-T HDBK CUM-ENGL L98b W 48b259L Ob82534 314 CONTENTS 1.0
3、Introduction 1 1.1 General 1 1.2 Languagesurvey . 2 1.3 Modes and classes 2 1.4 Locations and their accesses 3 1.5 Values and their operations 4 1.6 Actions . 4 1.7 Procedures . 4 1.8 Concurrent execution 5 1.9 Program structure, visibility and lifetime 5 1.10 Exception handling . 6 1.11 Implementat
4、ion options . 6 1.12 Summary of compatibility rules 6 1.13 1984-version of 2.200 6 2.0 Preliminaries . 8 2.1 Themetalanguage 8 2.1.1 The context-free syntax description 8 2.1.2 The semantic description 9 2.1.3 Theexamples . 9 2.1.4 The binding rules in the metalanguage 9 2.2 Vocabulary . 9 2.3 The u
5、se of spaces 10 2.4 Comments . 10 2.5 Format effectors . 11 2.6 Compiler directives . 11 3.0 Modes and classes 12 3.1 General 12 3.1.1 Modes 12 3.1.2 Classes 12 3.1.3 Properties of and relation between modes and classes 13 3.2 Mode definitions . 13 3.2.1 General 13 3.2.2 Synmode definitions 14 3.2.3
6、 Ncwmode definitions 14 3.3 Mode classification 15 3.4 Discretemodes . 16 3.4.1 General 1G 3.4.2 Integer modes . 16 3.4.3 Boolean modes . 17 3.4.4 Cliaracter modes 17 3.4.5 Sct modes . 17 3.4.6 Range modes . 19 3.5 Powerset modes . 21 3.6 Rcfcrence modes . 21 3.6.1 (heral 21 3.6.2 Bound reference mo
7、des . 22 3.6.3 Free reference mode 23 3.6.4 Row modes 23 3.7 Procedure modes 24 3.8 Instancemodes . 2G 3.9 Synchronisation modes 2G 3.9.1 General 26 3.9.2 Event modes . 27 3.9.3 Buffer modes . 27 3.10 Composite modes 28 3.10.1 (hieral . 28 CCITT . CHILL Users Manual 1 STD-ITU-T HDBK CUM-ENGL L98b W
8、4862571 0682535 250 3.10.2 String modes . 28 3.10.3 Array modes . 29 3.10.4 Structure modes . 31 3.10.5 Level structure notation 36 3.10.6 38 3.11 Dynamic modes 40 4.0 Locations and their accesses 41 4.1 Declarations 41 4.1.1 General 41 4.1.2 Location declarations 41 4.1.3 Loc-identity declarations
9、43 4.1.4 Based declarations . 44 4.2 Locations 46 4.2.1 General 46 4.2.2 Access names . 46 4.2.3 Dereferenced bound references 48 4.2.4 Dereferenced free references . 49 4.2.5 String elements 49 4.2.6 Substrings . 50 4.2.7 Array elements 51 4.2.8, Sub-arrays 51 4.2.9 Structure fields 52 4.2.10 Locat
10、ion procedure calls 53 4.2.11 Location built-in routine calls . 54 4.2.12 Location conversions 54 4.2.13 String slices . 55 4.2.14 Array slices 55 4.2.15 Dereferenced rows . 56 5.0 Values and their operations 58 5.1 Synonym definitions . 58 5.2 Primitive value . 59 5.2.1 General 59 5.2.2 Location co
11、ntents . 60 5.2.3 Value names 60 5.2.4 Literals 62 5.2.4.1 General . 62 5.2.4.2 Integer literals 63 5.2.4.3 Boolean literals 63 5.2.4.4 Set literals 64 5.2.4.5 Emptiness literal . 64 5.2.4.6 Procedure literals . 64 5.2.4.7 Character string literals 65 5.2.4.8 Bit string literals . 65 5.2.5 Tuples 66
12、 5.2.6 Value string element 71 5.2.7 Value substrings 71 5.2.8 Value string slices . 72 5.2.9 Value array elements 73 5.2.10 Value sub-arrays . 74 5.2.11 Value array slices . 75 5.2.12 Value structure fields . 76 5.2.13 Referenced locations 77 5.2.14 Expression conversion . 77 5.2.15 Value procedure
13、 call 78 5.2.16 Value built-in routine calls . 79 5.2.17 Start expression 82 5.2.18 Receive expression 83 5.2.19 Zero-adic operator . 84 5.2.20 Parenthesised expression 84 Layout description for array modes and structure modes 11 CCITT . CHILL Users Manual STD-ITU-T HDBK CUM-ENGL 198b = 4862593 0682
14、53b 197 m 5.3 Values and expressions 85 5.3.1 General 85 5.3.2 Expressions 85 5.3.3 Operand-1 87 5.3.4 Operand-2 87 5.3.5 Operand-3 89 5.3.6 Operand-4 91 5.3.7 Operand-5 91 6.0 Actions . 93 6.1 General 93 6.2 Assignment action 94 6.3 Ifaction 95 6.4 Caseaction . 96 6.5 Doaction 98 6.5.1 For control
15、99 6.5.2 While control 103 6.5.3 Withpart 104 6.6 Exitaction 104 6.7 Callaction 105 6.8 Result and return action 107 6.9 Goto action 108 6.10 Assert action . 108 6.11 Emptyaction 109 6.12 Causeaction . 109 6.13 Start action . 109 6.14 Stopaction . 110 6.15 Continue action . 110 6.16 Delayaction . 11
16、0 6.17 Delay case action . 111 6.18 Sendaction . 112 6.18.1 General 112 6.18.2 Send aignal action 112 6.18.3 Send buffer action 113 6.19 Receive case action 113 6.19.1 General 113 6.19.2 Receive signal case action 113 6.19.3 Receive buffer case action 115 7.0 Procedures 116 7.1 Procedure definitions
17、 116 7.2 Procedurecalls 118 7.3 Parameter passing and result transmission 121 7.4 Dynamic manipulation of procedures . 123 8.0 Concurrent executions . 126 8.1 Processes and process definitions 126 8.1.1 General . 126 8.1.2 Process definitions 127 8.1.3 Instancevalues . 129 8.2 ProceasStates . 130 8.
18、2.1 General . 130 8.2.2 Delaying of a process 131 8.2.3 Reactivation of aprocess . 131 8.3 Regions and events . 132 8.3.1 General . 132 8.3.2 Regions 133 8.3.3 Events . 135 8.4 Buffers 136 8.4.1 General . 136 8.4.2 Send buffer action . 137 8.4.3 Receive expression, Receive buffer case action . 138 C
19、CITT . CHILL Users Manual . 111 STDmITU-T HDBK CUM-ENGL 1986 Y862591 Ob82537 023 8.5 Signals 139 8.5.1 Signal definition statements 139 8.5.2 Send signal action 140 8.5.3 Receive signal case action . 141 9.0 Program structure, visibility and lifetime . 144 9.1 General . 144 9.2 Blocks and modulions
20、. 145 9.2.1 Blocks . 145 9.2.2 Modulions 145 9.3 Lifetime and visibility . 147 9.3.1 Lifetime . 147 9.3.2 Visibility 148 9.3.2.1 Introduction 148 9.3.2.2 Defining occurrences 149 9.3.2.3 Visibility definitions . 149 9.3.2.4 Visibility statements 152 9.3.2.5 Name binding . 154 9.4 Entering a scope an
21、d initialisation 156 9.4.1 Entering a scope . 156 9.4.2 Initialisatiori . 156 10.0 Exception haridling 158 10.1 Causing cxccptions 158 10.2 Exception handling 159 10.3 How is a handler found 160 11.0 IIriplementatiun options 163 12.0 Summary of compatibility ruJes . 164 12.1 Introduction 164 12.2 Mo
22、de-class compatibility . 164 12.2.1 Coniparing two locations . 165 12.2.2 Comparing a location and a value . 165 12.2.3 CoInparing two values 166 12.3 When are modes “of the sa111e kind“? 166 12.4 Comparing rcferericcs . 167 12.5 The undefined value 168 13.0 Character sets for CHILL prugrarns . 169
23、14.0 Special symbols . 170 15.0 CHILL special names . 171 15.1 Reserved names . 171 15.2 Predefined nmies . 172 15.3 Exception names . 172 15.4 Directives 172 16.0 Program examples 173 17.0 Syntax diagrams . 196 18.0 Index of production rules . 205 19.0 Clerical errors 212 19.1 Introduction . 212 19
24、.2 List of corrections to clerical errors . 213 20.0 Index 220 iv CCITT . CHILL Uaera Manual STD*ITU-T HDBK CUM-ENGL L9b m 4862591, Ob82538 TbT Chapter 1: Introduction 1 INTRODUCTION 1.1 GENERAL With the increasing use of Stored Program Control (SPC) switching systems, programming is becoming an imp
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ITUTHDBKCUM1986CHILLUSERSMANUAL 用户手册 236 PPPDF

链接地址:http://www.mydoc123.com/p-798004.html