ImageVerifierCode 换一换
格式:PDF , 页数:18 ,大小:1,022KB ,
资源ID:1256848      下载积分:10000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-1256848.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ISO IEC 14568-1997 Information technology - DXL Diagram eXchange Language for tree-structured charts《信息技术 DXL 树结构化图形的图交换语言》.pdf)为本站会员(花仙子)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

ISO IEC 14568-1997 Information technology - DXL Diagram eXchange Language for tree-structured charts《信息技术 DXL 树结构化图形的图交换语言》.pdf

1、INTERNATIONAL STANDARD ISO/IEC 14568 First edition 1997-05-l 5 Information technology - DXL: Diagram exchange Language for tree-structured charts Technologies de /information - DXL: Langage pour and 2. existing CASE data can also be reused if it can be converted through the data exchange language. i

2、v INTERNATIONAL STANDARD 0 ISO/IEC ISO/IEC 14568:1997(E) Information technology - DXL: Diagram exchange Language for tree-structured charts 1 Scope This International Standard specifies the semantics and syntax of DXL. DXL is a language for exchanging tree-structured charts among CASE tools. DXL is

3、applicable to: 1. exchanging ISO/IEC 8631 compliant tree-structured charts (examples of which are shown in annex A (informative) of ISO/IEC 863 1); 2. exchanging program flowcharts defined in ISO/IEC 5807 if they are well-structured and dont have data defined in ISO/IEC 5807; and 3. describing proce

4、dure oriented algorithms. This International Standard does not specify: 1. graphical information about a chart, such as the shape, size, and location of symbols; 2. configuration information of a chart, such as its version, author, and tile name; or 3. information about the data used in the algorith

5、m described by DXL, such as its structure, reading and writing, and declaration. 2 Normative references The following standards contain provisions which, through reference in this text, constitute provisions of this International Standard. At the time of publication, the editions indicated were vali

6、d. All standards are subject to revision, and parties to agreements based on this International Standard are encouraged to investigate the possibility of applying the most recent editions of the standards indicated below. Members of IEC and IS0 maintain registers of currently valid International Sta

7、ndards. ISOIIEC 646: 199 1, Information technology - IS0 7-bit coded character setfor information interchange. ISO/IEC 2022: 1994, Information technology - Character code structure and extension techniques. ISO/IEC 4873: 199 1, Information technology - IS0 8-bit code for information interchange - St

8、ructure and rules for implementation. IS0 5807: 1985, Information processing - Documentation symbols and conventions for data, program and system flowcharts, program network charts and system resources charts. ISO/IEC 863 1: 1989, Information technology - Program constructs and conventions for their

9、 represen- tation. IS0 8859-l : 1987, Information processing - 8-bit single-byte coded graphic character sets - Part I: Latin alphabet No. I. ISOIIEC 10646- 1: 1993, Information technology - Universal Multiple-Octet Coded Character Set (UCS) - Part I: Architecture and Basic Multilingual Plane. Curre

10、ntly under revision. 1 ISOLIEC 14568:1997(E) 0 ISO/IEC 3 Definition and acronym For the purposes of this International Standard, the following definition and acronym apply. 3.1 Definition 3.1.1 tree-structured chart: A chart depicting program constructs defined in ISO/IEC 863 1 and having the struct

11、ure of a tree. 3.2 Acronym 3.2.1 CASE: Computer Aided Software Engineering 4 Notation of DXL syntax The metalanguage used in this International Standard to specify the syntax of the constructs is based on Backus-Naur Form. The notation has been modified from the original to permit more convenient de

12、scription. Table 1 lists the meanings of the various meta-symbols. Table 1: Metalanguage Symbols There are two levels of compliance, level 0 and level 1. Level 0 includes syntactic elements compliant only to Program Constructs of ISO/IEC 8631. Level 1 includes level 0 and syntactic elements correspo

13、nding to subdivided elements of Program Constructs. 5 Definition of DXL 5.1 Lexical elements := 1 - - - : := - := 1 1 1 ) 1 1 := ; I : := M-Packet 1 End-M Packet ( Profile ) End Profile I Identification r End-Identification I Identifier I is I Module Algorithm I End-Module-Algorithm I imperative I “

14、null” I “call” I “goto” 1 “abstract” I begin I end 1 parallel I endparallel I loop I end-loop I condition I “while” I “until” I “for” ) if I then I end-if I exclusive-select ( else-if I else I end-exclusive-select I case 1 when I inclusive select I end inclusive select I terminate I system I module

15、7 block 2 0 ISO/IEC ISO/IEC 14568:1997(E) := := f I := I := - 1 := “O - ,” 1 “Oh” A is one of the graphical characters defined in ISO/IEC 646, ISO/IEC 2022, ISO/IEC 4873 andSO/IEC 8859-l. A is another standard character such as ISO/IEC 10646-l. is LF defined in ISO/IEC 646. is HT defined in ISO/IEC

16、646. A is separated from other lexical elements by delimiters (, ,I, %, I%, ;) or by one or more spaces. identifies a part of or a position in a module. in describes a specification of a process or a condition. The description rule of and is implementation-dependent. Delimiters can be inserted into

17、only by putting an escape character immediately in front of them. 5.2 Module Packet Module Packet is a unit for exchanging tree-structured charts among CASE tools. ) End-M-Packet ; 5.3 Profile Paragraph Profile Paragraph supplements information used to analyze and . - := Profile End-Profile ; should

18、 include: 1. the code set used in and ; 2. the maximum string length of , , , and ; 3. the type of tree-structured chart; and 4. information about the level of compliance described in clause 4. 5.4 Module Identification Paragraph Module Identification Paragraph provides the name and the overview of

19、the following immediately afterwards. 3 ISO/IEC 14568:1997(E) 0 ISOhEC - := Identification Identifier is ; End-Identification ; shall be unique within Module Packet. should include: 1. the module specification, such as function, usage, and interface; 2. the module type, such as system, subprogram, t

20、ask, process, procedure, subroutine, or function; and 3. the programming language for implementing the module. 5.5 Module Algorithm Paragraph Each Module Algorithm Paragraph describes an algorithm of a tree-structured chart for each module. - := Module-Algorithm End-Module-Ago 5.5.1 Statement := “:”

21、 r= I - - := identifies an immediately following . is valid only inside the module it is in. shall be unique within the . 5.5.2 Imperative Statement := . Imperative - - ; := - := I I - = “null” . . = “ca,” . . - := - = “goto” . . corresponds to Imperative Construct of ISO/IEC 8631. This statement de

22、notes a process thatexecutes and transfers its control to the next statement. denotes a process that does not execute anything and transfers its control to the next statement. denotes a process . that transfers its control to the module specified by - denotes a process that transfers its control to

23、the place specified by . 5.5.3 Blocked Statement - := - “abstract” - - . .= . . - 4 0 ISO/IEC ISO/IEC 14568: 1997(E) := := - - - corresponds to Serial Statement, Parallel Statement, Iterative Statement, or Selective Choice Statement of ISO/IEC 863 1. NOTE expresses abstract process descriptions in t

24、he stepwise refinement. An example of DXL description with this statement is given in clause A. 1. identifies the immediately following . is valid only inside the module it is in. shall be unique within the . 5.5.4 Serial Statement := begin end ; - corresponds to Serial Construct of ISOAEC 8631, whi

25、ch denotes a set of sequential process corresponds to Parallel Construct of ISO/IEC 8631, which denotes a parallel process execution. 5.5.6 Iterative Statement := - I I -:= - - -condition loop end-loop ; := - - - ?oop end-loop condition ; := loop end loop - - ; := “while” “until” I “for” - - := “whi

26、le” “until” corresponds to Iterative Construct of ISO/IEC 863 1. This statement denotes a repeated process w%h a control condition described by . Both and distinguish control conditions into the following types: a) while: Continue a loop while the condition is satisfied. b) until: Stop a loop when t

27、he condition is satisfied. c) for: Continue a loop within the discrete range of . 5 ISO/IEC 14568: 1997(E) 0 ISO/IEC 5.5.7 Selective Choice Statement := - cmonadic selective statement := % - - end-if ; - then := - 4 type selective statement I := exclusive select if- then else-if then else end exclus

28、ive-select ; := - - exclusive select case when end exclusive-select ; := inclusive selective statement := - inclusive select case when : end-inclusive-select ; corresponds to Selective Choice Construct of ISOAEC 863 1, which denotes a conditional selection of processes. corresponds to Dyadic Selecti

29、ve Construct and Multiple Exclusive Selective Construct of ISO/IEC 863 1. DXL provides two types of statements to describe a condition of the multiple exclusive selective choice: and . - - - type - - - selects the that corresponds to the first having a boolean value %ue” has a boolean value “false”,

30、 in the enumerated conditions. If every following else is selected. the immediately selects the that corresponds to the first coinciding with in the enumerated conditions. corresponds to Multiple Inclusive Selective Construct of ISO/lEC 863 1. - - 5.5.8 Termination Statement := := terminate ; system

31、 I module ) block - corresponds to Termination of ISO/IEC 863 1. - If - is system, all modules related to this termination stop here. If is module, the module that contains this termination stops here and returns its control to the calling module. 6 0 ISO/IEC ISOAEC 14568:1997(E) If is block, the bl

32、ock identified by stops here and transfers its control to the next statement of this block. 7 ISOAEC 14568: 1997(E) Annex A (informative) 0 ISO/IEC Examples of DXL description A.1 Example with “Abstract” M-Packet Profile Codeset: default; Identifier: Max(32); Specification: default; Originated: HCPt

33、oos 1 .O; 1 End-Profile; Identification Identifier is ; Title: Word count program; Module: int word-count(char *); Input: File name; Output: Number of word; Function: Count the number of word in the input tile; Constraints: Only English words can be counted; Revision: 06/05/95 H.T.; Design: 05/30/95

34、 H.N.; 1 End-Identification; - This is a sample chart - for experimental descriptions. Module-Algorithm abstract Count the number of words in a file begin abstract Pre-process begin imperative Open the file; imperative Initialize the word-counter; end; abstract Count the number of words loop imperat

35、ive Read one record; if End-of-file then terminate block I; end-if; abstract Count the number of words in the record loop abstract Search for words in the record begin 8 0 ISO/IEC ISO/IEC 14568: 1997(E) abstract Search for a head character of a word loop abstract Search for a head character exclusiv

36、e select if Alphabetical Character then terminate block I; else if Other character then imperative null; else:if End-of-record then terminate block I; end-exclusive select; - end-loop; abstract Search for a delimiter between words loop abstract Search for a head character of the delimiter exclusive

37、select if Alphabetical Character then imperative null; else if Other character then terminate block; elseIif End-of-record then terminate block I; end exclusive select; end-ioop; - end; imperative Add 1 to the value of the word-counter; end-loop; end-loop; abstract Post-process begin imperative Clos

38、e the tile; end; end; End-Module-Algorithm; End-M-Packet; A.2 Example without “Abstract” M-Packet Profile Codeset: default; Identifier: Max(32); Specification: default; Originated: HCPtoos 1 .O; 1 End-Profile; Identification Identifier is ; Title: Word count program; Module: int word-count(char *); Input: File name; Output: Number of word; Function: Count the number of word in the input file; Constraints: Only English words can be counted; 9

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1