BS ISO IEC 15145-1997 Information technology - Programming languages - FORTH《信息技术 程序设计语言 FORTH语言》.pdf
《BS ISO IEC 15145-1997 Information technology - Programming languages - FORTH《信息技术 程序设计语言 FORTH语言》.pdf》由会员分享,可在线阅读,更多相关《BS ISO IEC 15145-1997 Information technology - Programming languages - FORTH《信息技术 程序设计语言 FORTH语言》.pdf(219页珍藏版)》请在麦多课文档分享上搜索。
1、STD-BSI BS ISOIIEC L5145-ENGL L997 W Lb24bb9 0655982 84b D BRITISH STANDARD Information technology - Programming languages - FORTH ICs 35.060 BS ISO/IEC 15145 : 1997 NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAW BS ISO/IEC 15145 : 1997 been prepared under the direction of th
2、e DISC Board, was published under the authority of the Standards Board and comes into effect on 15 November 1997 hd. No. O BSI 1997 ISBN O 680 28771 8 National foreword Text affected This British Standard reproduces verbatim ISO/IEC 15145 : 1997 and implements it as the UK national standaxd. The UK
3、participation in its preparation was entrusted to Technical Committee ISTk, Programming languages, their environments and systems software interfaces, which has the responsibility to: - aid enquirers to understand the text; - present to the responsible internatio - monitor related international and
4、European developments and promulgate them in the UK. A list of organizations represented on this committee can be obtained on request to its secretary. From 1 January 1997, all IEC publications have the number 60000 added to the old number. For instance, IEC 27-1 has been renumbered as JEC 60027-1.
5、For a period of time during the change over from one numbering system to the other, publications may contain identiers from both systems. Cross-references The British standards which implement international or European publications referred to in this document may be found in the BSI Standards Catal
6、ogue under the section entitled ?International Stanards Correspondence Index?, or by using the ?Find? facility of the BSI Standards Electronic Catalogue. Compliance with a British Standard does not of itself confer immunity from legal obligations. Summary of pages This document comprises a front cov
7、er, an inside front cover, the ISO/IEC title page, pages ii to vi, pages 1 to 210, an inside back cover and a back cover. STD-BSI BS ISO/IEC 15L45-ENGL 1977 Lb24bb9 Ob55784 BS ISOiIEC 15145 : 1997 I NTE R NATI O N AL STANDARD ISO/IEC 15145 First edition 1997-04-1 5 Information technology - Programmi
8、ng languages - Forth Technologies de linformation - Langages de programmation - Forth Reference number ISOliEC 15145:1997(E) STD-BSI BS ISOIIEC 15145-ENGL 1977 1b2qbb Db55985 555 BS ISODEC 15145 : 1997 Contents 1 General 1 1.1.1 Inclusions 1 1.1.2 Exclusions . 1 1.2 Document organization . 1 1.2.1 W
9、ord sets . 1 1.2.2 Annexes . 2 1.3 Future directions . 2 1.3.1 New technology . 2 1.3.2 Obsolescent features 2 1.4 Normative References . 2 2 Terms and notation 3 2.1 Definitions of terms . 3 2.2 Notation . 5 2.2.1 Numeric notation . 5 2.2.2 Stack notation 5 2.2.3 Parsed-text notation . 5 2.2.4 Glos
10、sary notation . 6 3 Usage requirements . 8 3.1 Data types 8 3.1.1 Data-type relationships 8 3.1.2 Character types 8 3 . i . 3 Single-cell types 10 3.1.4 Cell-pair types . 11 3.1.5 System types 11 3.2 The implementation environment . 12 3.2.1 Numbers 12 3.2.2 Arithmetic 12 3.2.3 Stacks 13 3.2.4 Opera
11、tor terminal 14 3.2.5 Mass storage 14 3.2.6 Environmental queries . 14 3.3 The Forth dictionary 15 3.3. I Name space 15 3.3.2 Code space . 15 3.3.3 Data space 15 3.4 The Forth text interpreter 17 3.4.1 Parsing . 18 3.4.2 Finding definition names . 18 3.4.3 Semantics . 19 3.4.4 Possible actions on an
12、 ambiguous condition . 19 3.4.5 Compilation . 20 1 . 1 Scope . 1 Descriptors: data processing. computer software. artificial languages. programming languages. advanced language. FORTH . II STD-BSI BS ISOIIEC 1.5145-ENGL 1777 D 1b24bb7 Ob557Bb 491 BS ISO/IEC 16145 : 1997 4 Documentation requirements
13、. 21 4.1 System documentation . 21 4.1 . 1 Implementation-defined options 21 4.1.2 Ambiguous conditions . 22 4.1.3 Other system documentation 23 4.2 Program documentation . 23 4.2.1 Environmental dependencies . 23 4.2.2 5 Compliance and labeling . 24 5.1 ANS Forth systems 24 5.1.1 System compliance
14、24 5.1.2 System labeling 24 5.2 ANS Forth programs 24 5.2.2 Program labeling 24 6 Glossary . 25 6.1 Core words . 25 6.2 Core extension words 49 Other program documentation . 23 5.2.1 Program compliance 24 7 8 The optional Double-Number word set . 65 9 The optional Exception word set . 70 1 O 1 1 12
15、13 The optional Locals word set . 102 14 The optional Memory-Allocation word set 107 15 16 The optional Search-Order word set 117 17 The optional String word set 122 The optional Block word set 59 The optional Facility word set . 74 The optional File-Access word set . 77 The optional Floating-point
16、word set 87 The optional Programming-Tools word set . 110 Annex A (informative) Rationale . 125 A.l Introduction . 125 A.2 Terms and notation . 126 A.3 Usage requirements . 127 AS A.6 Glossary 139 A.7 The optional Block word set . 157 A.8 A.9 The optional Exception word set 158 A . 10 The optional F
17、acility word set 161 A . 1 1 The optional File-Access word set 164 A . 12 A . 13 A.14 A . 15 The optional Programming-Tools word set 172 A . 16 The optional Search-Order word set . 174 A . 17 A.4 Documentation requirements 138 Compliance and labeling 138 The optional Double-Number word set 157 The o
18、ptional Floating-point word set . 166 The optional Locals word set 169 The optional Memory-Allocation word set . 172 The optional String word set . 177 iii BS ISODEC 15145 : 1997 Annex B (informative) Bibliography . i78 Annex C (informative) Perspective 180 C.1 Features of Forth . 180 C.2 History of
19、 Forth 181 C.3 Hardware implementations of Forth . 181 C.4 Standardization efforts 181 C.5 Programming in Forth 182 C.6 Multiprogrammed systems . 188 C.7 Design and management considerations . 188 C.8 Conclusion . Annex D (informative) Compatibility analysis of ANS Forth 189 D.2 Forth 79 189 D.3 For
20、th 83 189 D.4 Recent developments 190 D.5 ANS Forth approach . 190 D.6 Differences from Forth 83 191 Annex E (informative) ANS Forth portability guide . 199 E . i Introduction 199 E.2 Hardware peculiarities 199 E.3 Number representation 201 E.4 Forth system implementation 202 ES ROMed application di
21、sciplines and conventions 203 E.6 Summary . 203 D . i FIG Forth (circa 1978) 189 Annex F (informative) Alphabetic list of words 204 iv STD-BSI BS ISOIIEC LSLLiS-ENGL 2997 9 lb24bb9 Ob55988 2bLi W BS ISOAEC 15145 : 1997 Foreword IS0 (the International Organization for Standardization) and IEC (the In
22、temational Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of IS0 or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular
23、fields of technical activity. IS0 and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liason with IS0 and IEC, also take part in the work. In the field of information technology, IS0 and IEC have established
24、a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 YO of the national bodies casting a vote. International Standard
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BSISOIEC151451997INFORMATIONTECHNOLOGYPROGRAMMINGLANGUAGESFORTH 信息技术 程序设计语言 FORTH 语言 PDF

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