ANSI INCITS ISO IEC 15145-1997 Information technology - Programming languages - FORTH.pdf
《ANSI INCITS ISO IEC 15145-1997 Information technology - Programming languages - FORTH.pdf》由会员分享,可在线阅读,更多相关《ANSI INCITS ISO IEC 15145-1997 Information technology - Programming languages - FORTH.pdf(220页珍藏版)》请在麦多课文档分享上搜索。
1、 INCITS/ISO/IEC 15145:19972010 (ISO/IEC 15145:1997, IDT) Information technology - Programming languages - FORTH Reaffirmed as INCITS/ISO/IEC 15145:1997 R2015INCITS/ISO/IEC 15145:19972010 PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this fil
2、e may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat
3、accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure tha
4、t the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. Adopted by INCITS (InterNational Committee for Information Technology Standards) as an American National Standard. Date
5、 of ANSI Approval: 11/18/2010 Published by American National Standards Institute, 25 West 43rd Street, New York, New York 10036 Copyright 2010 by Information Technology Industry Council (ITI). All rights reserved. These materials are subject to copyright claims of International Standardization Organ
6、ization (ISO), International Electrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Council (ITI). Not for resale. No part of this publication may be reproduced in any form, including an electronic retrieval system, without the prior writ
7、ten permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1101 K Street NW, Suite 610, Washington DC 20005. Printed in the United States of America ii ITIC 2010 All rights reserved INTERNATIONAL STANDARD lSO/IEC 15145 First edition 1997-04-I 5 Information technology
8、 - Programming languages - Forth Technologies de /information - Langages de programmation - Forth Reference number ISO/IEC 15145:1997(E) ISO/IEC 15145:1997(E) Contents 1 General 1 1.1 Scope . 1 1.1.1 Inclusions 1 1.1.2 Exclusions . 1 1.2 Document organization . 1 1.2.1 Word sets . 1 1.2.2 Annexes .
9、2 1.3 Future directions . 2 1.3.1 New technology 1.3.2 Obsolescent features . G 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 Glossary notation . 6 3 Usage requi
10、rements . 8 3.1 Data types 8 3.1.1 Data-type relationships 8 3.1.2 Character types 8 3.1.3 Single-cell types 10 3.1.4 Cell-pair types . 11 3.15 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 Operator terminal 14 3.2.5 Mass storage 1
11、4 3.2.6 Environmental queries . 14 3.3 The Forth dictionary 15 3.3.1 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 ambiguous condition . 19 3.4.5 Compi
12、lation .20 0 ISO/IEC 1997 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the publisher. ISO/IEC Copyright Office
13、 l Case postale 56 l CH-1211 Geneve 20 l Switzerland Printed in Switzerland ii 0 ISOAEC ISOllEC 15145:1997(E) 4 Documentation requirements .2 1 4.1 System documentation .2 1 4.1.1 Implementation-defined options . .2 1 4.1.2 Ambiguous conditions .22 4.1.3 Other system documentation . .23 4.2 Program
14、documentation .23 4.2.1 Environmental dependencies .23 4.2.2 Other program documentation .23 5 Compliance and labeling .24 5.1 ANS Forth systems . .24 5.1.1 System compliance 2 4 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 Gl
15、ossary . 25 6.1 Core words .25 6.2 Core extension words 49 7 The optional Block word set . .59 8 The optional Double-Number word set .65 9 The optional Exception word set .70 10 The optional Facility word set .74 1 1 The optional File-Access word set .77 12 The optional Floating-Point word set . .87
16、 13 The optional Locals word set .102 14 The optional Memory-Allocation word set 107 15 The optional Programming-Tools word set . 1 10 16 The optional Search-Order word set 1 17 17 The optional String word set . .122 Annex A (informative) Rationale .125 A. 1 Introduction .125 A.2 Terms and notation
17、. 126 A.3 Usage requirements .127 A.4 Documentation requirements . ,138 A.5 Compliance 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 . .16 1 A. 1
18、 1 The optional File-Access word set . .164 A. 12 The optional Floating-Point word set . 166 A. 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 .174 A. 17 The optio
19、nal String word set . 177 III ISOAEC 15145:1997(E) 0 ISOAEC Annex B (informative) Bibliography . 178 Annex C (informative) Perspective 180 C. 1 Features of Forth . 180 C.2 History of Forth 181 C.3 Hardware implementations of Forth . 18 1 C.4 Standardization efforts 18 1 C.5 Programming in Forth 182
20、C.6 Multiprogrammed systems . 188 C.7 Design and management considerations . 188 C.8 Conclusion 188 Annex D (informative) Compatibility analysis of ANS Forth . 189 D. 1 FIG Forth (circa 1978) . 189 D.2 Forth 79 189 D.3 Forth 83 189 D.4 Recent developments 190 D.5 ANS Forth approach . 190 D.6 Differe
21、nces from Forth 83 191 Annex E (informative) ANS Forth portability guide . 199 E.l Introduction 199 E.2 Hardware peculiarities 199 E.3 Number representation 201 E.4 Forth system implementation 202 E.5 ROMed application disciplines and conventions 203 E.6 Summary . 203 Annex F (informative) Alphabeti
22、c list of words 204 0 ISO/IEC ISO/IEC 15145:1997(EI Foreword IS0 (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of IS0 or IEC participate in the d
23、evelopment of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. IS0 and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-gover
24、nmental, in liason with IS0 and IEC, also take part in the work. In the field of information technology, IS0 and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publi
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIINCITSISOIEC151451997INFORMATIONTECHNOLOGYPROGRAMMINGLANGUAGESFORTHPDF

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