BS 5905-1980 Specification for computer programming language CORAL 66《计算机程序设计语言CORAL66规范》.pdf
《BS 5905-1980 Specification for computer programming language CORAL 66《计算机程序设计语言CORAL66规范》.pdf》由会员分享,可在线阅读,更多相关《BS 5905-1980 Specification for computer programming language CORAL 66《计算机程序设计语言CORAL66规范》.pdf(42页珍藏版)》请在麦多课文档分享上搜索。
1、BRITISH STANDARD BS 5905:1980 Incorporating Amendment No. 1 Specification for Computer programming language CORAL 66 UDC 681.3.06CORAL 66BS5905:1980 This British Standard, having been prepared under the directionof the Data ProcessingStandards Committee,was published underthe authority ofthe Executi
2、ve Board and comes into effect on 31October1980 BSI 04-2000 The following BSI references relate to the work on this standard: Committee reference IST/5 Draft for comment 78/63605 DC ISBN 0 580 11442 2 Cooperating organizations The Data Processing Standards Committee, under whose direction this Briti
3、shStandard was prepared, consists of representatives from the following Government departments and scientific and industrial organizations: British Computer Society Ltd.* British Paper and Board Industry Federation (PIF) British Printing Industries Federation Business Equipment Trade Association* Ce
4、ntral Computer Agency (Civil Service Department)* Committee of London Clearing Bankers on behalf of the Committee of Scottish Clearing Bankers, Co-operative Bank, Central Trustee Savings Bank and Yorkshire Bank Department of Industry (Computers Systems and Electronics) Department of Industry (Nation
5、al Physical Laboratory)* Electricity Supply Industry in England and Wales* Government Communications Headquarters HM Customs and Excise Institute of Cost and Management Accountants Institute of Purchasing and Supply Institution of Electrical Engineers Institution of Mechanical Engineers Inter-univer
6、sity Committee on Computing London Transport Executive Ministry of Defence* National Computer Users Forum National Computing Centre Ltd.* National Research Development Corporation Post Office* Society of British Aerospace Companies Limited The organizations marked with an asterisk in the above list,
7、 together with the following, were directly represented on the committee entrusted with the preparation of this British Standard: Association for Literary and Linguistic Computing Association of Computer Units in Colleges of Higher Education (ACUCHE) British Gas Corporation Computing Services Associ
8、ation Control and Automation Manufacturers Association (BEAMA) Edinburgh Regional Computing Centre Engineering Equipment Users Association Hatfield Polytechnic University of London Amendments issued since publication Amd. No. Date of issue Comments 5079 October 1986 Indicated by a sideline in the ma
9、rginBS5905:1980 BSI 04-2000 i Contents Page Cooperating organizations Inside front cover Foreword ii 1 Scope 1 2 References 1 3 Definitions 1 4 Syntactic metalanguage 1 5 Compliance 2 5.1 Implementations 2 5.2 Programs 8 6 Requirements 8 6.1 The CORAL 66 program 8 6.2 Scoping 9 6.3 References to dat
10、a 10 6.4 Place references: switches 15 6.5 Expressions 15 6.6 Statements 19 6.7 Procedures 23 6.8 Communicators 26 6.9 Names and constants 27 6.10 Processing text in a program 29 6.11 List of language symbols and character set 30 6.12 Permissible options 31 Appendix A Unspecified features 33 Appendi
11、x B Implementation 33 Table 1 Alphabetical list of syntax rules 2 Table 2 Parameters of procedures 24 Table 3 Language words 30 Table 4 Other symbols 31 Publications referred to Inside back coverBS5905:1980 ii BSI 04-2000 Foreword This British Standard has been prepared under the direction of the Da
12、ta Processing Standards Committee and is based on the “Official definition of CORAL 66”, first published in1970 by Her Majestys Stationery Office, and reproduces material taken from that publication. This standard follows some ten years after the “Official definition” and the BSI committee believes
13、that the standard should not contain requirements incompatible with the very large number of existing implementations. For this reason, although a number of proposals for extensions of the language have been considered, their adoption has, in general, been reserved until a future revision of the sta
14、ndard. Two exceptions have, however, been made in this first edition: a) the number denotation HEX has been included (see6.9.2); b) the language words CORAL and SEGMENT have been included to give a formal syntax to a multisegment program (see6.1.3). Future revisions may make fuller provision for byt
15、e-addressable machines with a byte-oriented, but otherwise conformable, language definition. The current requirements assume a word-addressable virtual machine, but some provision for such byte-addressable machines is made inAppendix B. This standard aims to achieve an overall economy, in terms of h
16、uman effort, in the development of computer-based systems for real-time applications and to protect the interests of the user by encouraging the use of computers that comply with this standard. CORAL 66 provides a means of increasing the implementation efficiency of computer applications in environm
17、ents where the input/output communication requirements may not have been standardized and that are time-critical. CORAL66 is a kernel high-level computer language intended to replace a high proportion of assembly code in each specific application. Items not explicitly specified in this standard shou
18、ld be clearly understood as being unspecified. These unspecified items result from an original design objective that CORAL66 should favour all computer architectures as equally as possible and should allow implementors to exploit hardware features as efficiently as possible. The objective is to prom
19、ote the use of a common form of expression whenever it is expedient to do so. The language specification thus explicitly includes both the insertion of machine code statements and anonymous referencing, so as to ensure that special machine features and peripherals can be handled efficiently at the c
20、ost of reduced program portability. Furthermore, implementors are thus able to adopt the hardware conventions of the target machine with regard to numeric representation and computation. The parameterized macro facility enables the source text to retain a high level of readability. CORAL66 therefore
21、 aims to minimize, rather than to eliminate, the consequent machine dependency of programs and to maximize the portability of programming and software maintenance staff. It is virtually impossible to design a standard language such that programs will run with equally high efficiency in all types of
22、computer and in any applications. Much of the design of CORAL66 reflects this difficulty. For example, the language permits the use of non-standard “code statements” for any parts of a program where it may be important to exploit particular hardware facilities. A special feature is scaled fixed-poin
23、t arithmetic for use in small fixed-point machines; the floating-point facilities of the language can be omitted when hardware limitations make the use of floating-point arithmetic uneconomical. Other features can also be omitted without reducing the power of the language to an unacceptably low leve
24、l. Major features that may be omitted are listed in6.12.BS5905:1980 BSI 04-2000 iii A clear distinction needs to be made between general-purpose languages and more limited languages designed to incorporate the inbuilt assumptions of specialized applications or to make direct computer access practica
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BS59051980SPECIFICATIONFORCOMPUTERPROGRAMMINGLANGUAGECORAL66 计算机 程序设计语言 CORAL66 规范 PDF

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