ISO IEC 13816-2007 Information technology - Programming languages their environments and system software interfaces - Programming language ISLISP《信息技术 程序设计语言、其环.pdf
《ISO IEC 13816-2007 Information technology - Programming languages their environments and system software interfaces - Programming language ISLISP《信息技术 程序设计语言、其环.pdf》由会员分享,可在线阅读,更多相关《ISO IEC 13816-2007 Information technology - Programming languages their environments and system software interfaces - Programming language ISLISP《信息技术 程序设计语言、其环.pdf(136页珍藏版)》请在麦多课文档分享上搜索。
1、 Reference number ISO/IEC 13816:2007(E) ISO/IEC 2007INTERNATIONAL STANDARD ISO/IEC 13816 Second edition 2007-10-01 Information technology Programming languages, their environments and system software interfaces Programming language ISLISP Technologies de linformation Langages de programmation, leurs
2、 environnements et interfaces de logiciel systme Langage de programmation ISLISP ISO/IEC 13816:2007(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are em
3、bedded 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 accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporate
4、d. 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 that the file is suitable for use by ISO member bodies. In the unlikely event that a pr
5、oblem relating to it is found, please inform the Central Secretariat at the address given below. COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2007 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,
6、 including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org P
7、ublished in Switzerland ii ISO/IEC 2007 All rights reservedISO/IEC 13816:2007(E) Contents 1S c o p e 1 2 Normative references 1 3 Compliance of ISLisp processors and text 2 4 Terms and denitions 2 5 Notation and conventions 7 6 Lexemes 9 6 . 1 S e p a r a t o r s. 1 0 6 . 2 C o m m e n t s. 1 0 7 Te
8、xtual representation 10 8 Reserved identiers 11 9 Errors 11 9 . 1 C l a s s e so fe r r o rs p e c i c a t i o n. 1 2 9 . 2 P e r v a s i v ee r r o rt y p e s. 1 2 10 Classes 13 1 0 . 1M e t a c l a s s e s 1 3 1 0 . 2P r e d e n e dc l a s s e s. 1 5 1 0 . 3S t a n d a r dc l a s s e s. 1 6 1 0 .
9、3 . 1S l o t s 1 6 1 0 . 3 . 2C r e a t i n gi n s t a n c e so fc l a s s e s. 1 6 11 Scope and extent 17 1 1 . 1T h el e x i c a lp r i n c i p l e. 1 7 1 1 . 2S c o p eo fi d e n t i e r s 1 7 1 1 . 3S o m es p e c i cs c o p er u l e s. 1 8 1 1 . 4E x t e n t. 1 8 12 Forms and evaluation 19 1 2
10、. 1F o r m s. 1 9 1 2 . 2F u n c t i o na p p l i c a t i o nf o r m s . 2 0 1 2 . 3S p e c i a lf o r m s. 2 0 1 2 . 4D e n i n gf o r m s 2 1 1 2 . 5M a c r of o r m s 2 1 1 2 . 6T h ee v a l u a t i o nm o d e l 2 1 1 2 . 7F u n c t i o n s. 2 2 1 2 . 8D e n i n go p e r a t o r s 2 6 13 Predicat
11、es 28 1 3 . 1B o o l e a nv a l u e s 2 8 1 3 . 2C l a s sp r e d i c a t e s 2 8 1 3 . 3E q u a l i t y 2 9 1 3 . 4L o g i c a lc o n n e c t i v e s 3 1 14 Control structure 33 1 4 . 1C o n s t a n t s. 3 3 1 4 . 2V a r i a b l e s . 3 4 c ISO/IEC 2007 All rights reserved iiiISO/IEC 13816:2007(E)
12、1 4 . 3D y n a m i cv a r i a b l e s 3 7 1 4 . 4C o n d i t i o n a le x p r e s s i o n s. 3 8 1 4 . 5S e q u e n c i n gf o r m s. 4 0 1 4 . 6I t e r a t i o n 4 1 1 4 . 7N o n - l o c a le x i t s 4 2 14.7.1 Establishing and invoking non-local exits . . . . . . . . . . . . . . . . . . . 42 14.7.
13、2 Assuring data consistency during non-local exits . . . . . . . . . . . . . . . 46 15 Objects 47 1 5 . 1D e n i n gc l a s s e s 4 7 15.1.1 Determining the class precedence list . . . . . . . . . . . . . . . . . . . . . . 50 1 5 . 1 . 2A c c e s s i n gs l o t s 5 1 1 5 . 1 . 3I n h e r i t a n c e
14、o fs l o t sa n ds l o to p t i o n s 5 1 1 5 . 2G e n e r i cf u n c t i o n s. 5 2 1 5 . 2 . 1D e n i n gg e n e r i cf u n c t i o n s 5 2 1 5 . 2 . 2D e n i n gm e t h o d sf o rg e n e r i cf u n c t i o n s. 5 4 15.2.2.1 Agreement on parameter specia l i z e r sa n dq u a l i e r s. 5 5 15.2.2
15、.2 Congruent lambda-lists for all methods of a generic function . . . 55 1 5 . 2 . 3I n h e r i t a n c eo fm e t h o d s 5 5 15.3 Calling generic functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 1 5 . 3 . 1S e l e c t i n gt h ea p p l i c a b l em e t h o d s 5 6 1 5
16、. 3 . 2S o r t i n gt h ea p p l i c a b l em e t h o d s. 5 6 1 5 . 3 . 3A p p l y i n gm e t h o d s 5 7 15.3.3.1 Simple method combination . . . . . . . . . . . . . . . . . . . . . 57 15.3.3.2 Standard method combination . . . . . . . . . . . . . . . . . . . . 57 15.3.4 Calling more general metho
17、ds . . . . . . . . . . . . . . . . . . . . . . . . . . 59 1 5 . 4O b j e c tc r e a t i o na n di n i t i a l i z a t i o n 6 0 1 5 . 4 . 1I n i t i a l i z e - o b j e c t 6 0 1 5 . 5C l a s se n q u i r y. 6 1 16 Macros 61 17 Declarations and coercions 63 18 Symbol class 65 1 8 . 1S y m b o ln a m
18、 e s 6 5 18.1.1 Notation for symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 1 8 . 1 . 2A l p h a b e t i cc a s ei ns y m b o ln a m e s 6 6 18.1.3 nil and () 6 7 1 8 . 2S y m b o lp r o p e r t i e s 6 7 1 8 . 3U n n a m e ds y m b o l s 6 8 19 Number class 68 1 9 . 1N u m
19、 b e rc l a s s. 6 9 1 9 . 2F l o a tc l a s s. 7 7 1 9 . 3I n t e g e rc l a s s 8 0 20 Character class 83 21 List class 84 2 1 . 1C o n s . 8 4 2 1 . 2N u l lc l a s s. 8 7 2 1 . 3L i s to p e r a t i o n s 8 7 22 Arrays 91 iv c ISO/IEC 2007 All rights reservedISO/IEC 13816:2007(E) 2 2 . 1A r r a
20、yc l a s s e s. 9 1 2 2 . 2G e n e r a la r r a y s 9 2 2 2 . 3A r r a yo p e r a t i o n s. 9 3 23 Vectors 95 24 String class 96 25 Sequence functions 99 26 Stream class 102 2 6 . 1S t r e a m st o l e s1 0 3 2 6 . 2O t h e rs t r e a m s.1 0 5 27 Input and output 107 27.1 Argument conventions for
21、input functions . . . . . . . . . . . . . . . . . . . . . . . 107 2 7 . 2C h a r a c t e rI / O 1 0 7 2 7 . 3B i n a r yI / O1 1 1 28 Files 112 29 Condition system 114 2 9 . 1C o n d i t i o n s.1 1 5 2 9 . 2S i g n a l i n ga n dh a n d l i n gc o n d i t i o n s1 1 5 29.2.1 Operations relating to
22、condition signaling . . . . . . . . . . . . . . . . . . . 116 29.2.2 Operations relating to condition handling . . . . . . . . . . . . . . . . . . . 117 2 9 . 3D a t aa s s o c i a t e dw i t hc o n d i t i o nc l a s s e s.1 1 8 2 9 . 3 . 1A r i t h m e t i ce r r o r s.1 1 8 2 9 . 3 . 2D o m a i n
23、e r r o r s 1 1 8 2 9 . 3 . 3P a r s ee r r o r s1 1 8 2 9 . 3 . 4S i m p l ee r r o r s.1 1 9 2 9 . 3 . 5S t r e a me r r o r s.1 1 9 2 9 . 3 . 6U n d e n e de n t i t ye r r o r s .1 1 9 2 9 . 4E r r o ri d e n t i c a t i o n1 2 0 30 Miscellaneous 122 Index 123 c ISO/IEC 2007 All rights reserved
24、vISO/IEC 13816:2007(E) Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International S
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ISOIEC138162007INFORMATIONTECHNOLOGYPROGRAMMINGLANGUAGESTHEIRENVIRONMENTSANDSYSTEMSOFTWAREINTERFACESPROGRAMMINGLANGUAGEISLISP

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