ANSI INCITS 215-1994 Information Systems - Programming Languages - Forth.pdf
《ANSI INCITS 215-1994 Information Systems - Programming Languages - Forth.pdf》由会员分享,可在线阅读,更多相关《ANSI INCITS 215-1994 Information Systems - Programming Languages - Forth.pdf(222页珍藏版)》请在麦多课文档分享上搜索。
1、ANSI INCITS 215-1994 (R2001)(formerly ANSI X3.215-1994 (R2001)for Information Systems Programming Languages ForthAmericanNationalStandardApproval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by
2、the standards developer.Consensus is established when, in the judgment of the ANSI Board of StandardsReview, substantial agreement has been reached by directly and materiallyaffected interests. Substantial agreement means much more than a simplemajority, but not necessarily unanimity. Consensus requ
3、ires that all views andobjections be considered, and that a concerted effort be made toward theirresolution.The use of American National Standards is completely voluntary; their existencedoes not in any respect preclude anyone, whether he has approved the standardsor not, from manufacturing, marketi
4、ng, purchasing, or using products, processes,or procedures not conforming to the standards.The American National Standards Institute does not develop standards and will inno circumstances give an interpretation of any American National Standard.Moreover, no person shall have the right or authority t
5、o issue an interpretation ofan American National Standard in the name of the American National StandardsInstitute. Requests for interpretations should be addressed to the secretariat orsponsor whose name appears on the title page of this standard.CAUTION NOTICE: This American National Standard may b
6、e revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically to reaffirm, revise, or withdrawthis standard. Purchasers of American National Standards may receive currentinformation on all standards by calling or writing the A
7、merican National StandardsInstitute.CAUTION: The developers of this standard have requested that holders of patents that may be required for theimplementation of the standard disclose such patents to the publisher. However, neither the developers nor the publisherhave undertaken a patent search in o
8、rder to identify which, if any, patents may apply to this standard. As of the date ofpublication of this standard, following calls for the identification of patents that may be required for the implementation ofthe standard, notice of one or more such claims has been received. By publication of this
9、 standard, no position is takenwith respect to the validity of this claim or of any rights in connection therewith. The known patent holder(s) has (have),however, filed a statement of willingness to grant a license under these rights on reasonable and nondiscriminatory termsand conditions to applica
10、nts desiring to obtain such a license. Details may be obtained from the publisher. No furtherpatent search is conducted by the developer or publisher in respect to any standard it processes. No representation ismade or implied that this is the only license that may be required to avoid infringement
11、in the use of this standard.Published byAmerican National Standards Institute11 West 42nd Street, New York, New York 10036Copyright 1994 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or
12、otherwise,without prior written permission of ITI, 1250 Eye Street NW,Washington, DC 20005.Printed in the United States of AmericaANSI X3.21 5-l 994 American National Standard for Information Systems - Programming Languages - Forth Secretariat Computer and Business Equipment Manufacturers Associatio
13、n Approved March 24, 1994 American National Standards Institute, Inc. ANSI X3.215-1994 Contents Foreword V X3 Membership . vi X3J14 Membership vii 1. Introduction 1 1.1 Purpose 1 1.2 scope . 1 1.2.1 Inclusions . 1 1.2.2 Exclusions 1 1.3 Document organization . .2 1.3.1 wordsets 1.3.2 Annexes ; 1.4 F
14、uture directions . 2 1.4.1 New technology . 2 1.4.2 Obsolescent features . .2 2. Terms, notation, and references .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 . 2.2.4 Glossary notation . i 2.3 References . 7 3. Usage require
15、ments 8 3.1 3.2 3.3 3.4 Data types . 8 3.1.1 Data-type relationships 8 3.1.2 Character types . 8 3.1.3 Single-cell types .lO 3.1.4 Cell-pair types . 11 3.1.5 System types . 11 The implementation environment 12 3.2.1 Numbers . 12 3.2.2 Arithmetic . 12 3.2.3 Stacks 13 3.2.4 Operator terminal 14 3.2.5
16、Mass storage 14 3.2.6 Environmental queries . 14 The Forth dictionary 15 3.3.1 Name space . 15 3.3.2 Code space 15 3.3.3 Dataspace . 15 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 ambiguous condition 3.4.5 Com
17、pilation 4. Documentation requirements . .21 4.1 System documentation . 21 4.1.1 Implementation-defmed 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 ii ANSI X3.21 51994 4.2.2 Other program documen
18、tation .23 5. Compliance and labeling . 24 5.1 ANS Forth systems . .24 5.1.1 System compliance . . 5.1.2 System labeling .24 5.2 ANS Forth programs .24 5.2.1 Program compliance 24 5.2.2 Program labeling . .24 6. Glossary 25 6.1 Core words 25 6.2 Core extension words 49 7. The optional Block word set
19、 59 8. The optional Double-Number word set . 65 9. The optional Exception word set .70 10. The optional Facility word set . .74 11. The optional File-Access word set . 77 12. The optional Floating-Point word set . .87 13. The optional Locals word set . 102 14. The optional Memory-Allocation word set
20、 107 15. The optional Programming-Tools word set . 110 16. The optional Search-Order word set . 117 17. The optional Suing word set 122 A. Rationale (informative annex) 125 A. 1 Introduction . 125 A.2 Terms and notation . 126 A.3 Usage requirements . 127 A.4 Documentation requirements . 138 A.5 Comp
21、liance and labeling 138 A.6 Glossary . 139 A.7 The optional Block word set . 157 A.8 The optional Double-Number word set 157 A.9 The optional Exception word set 158 A.10 The optional Facility word set . 161 A.11 The optional File-Access word set 164 A. 12 The optional Floating-Point word set . 166 A
22、. 13 The optional Locals word set 169 A.14 The optional Memory-Allocation word set . 172 A. 15 The optional Programming-Tools word set 172 A. 16 The optional Search-Order word set 175 A.17 The optional String word set . 177 B. Bibliography (informative annex). . 179 C . Perspective (informative anne
23、x). : 18 1 C.l Features of Forth 181 C.2 History of Forth . 182 C.3 Hardware implementations of Forth 182 C.4 Standardization efforts 182 C.5 Programming in Forth . 183 C.6 Multiprogrammed systems . 189 C .7 Design and management considerations . 189 C.8 Conclusion 189 . . . Ill _-.- -_ _- -I_ _.- -
24、 -I,-_-. -LA.-_“ ANSI X3.215-1994 D. Compatibility analysis of ANS Forth (informative annex). 190 D.l FIG Forth (circa 1978) . 190 D.2 Forth 79 . 190 D.3 Forth 83 .190 D.4 Recent developments . 191 D.5 ANS Forth approach . 191 D.6 Differences from Forth 83 192 D.6.1 Stack width . 192 D.6.2 Number re
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIINCITS2151994INFORMATIONSYSTEMSPROGRAMMINGLANGUAGESFORTHPDF

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