案例模拟语言:一个面向问题的语言的局部发展的例子

ACM-SE 14 Pub Date : 1976-04-22 DOI:10.1145/503561.503607
Peter J. Robinson
{"title":"案例模拟语言:一个面向问题的语言的局部发展的例子","authors":"Peter J. Robinson","doi":"10.1145/503561.503607","DOIUrl":null,"url":null,"abstract":"Case Simulation Language or CSL is a programming language which facilitates the production of simulated medical cases for training students at the University of Alabama Medical Center in Birmingham. CSL was developed in two months by one programmer and is executed interpretively by a small program (occupying less than 20,000 bytes) on a Hewlett-Packard 2000 Time Share System. The language features a curious assemblage of old techniques such as fixed fields in each line of source code and numeric labels, juxtaposed to relatively new concepts such as case statements.Modular programming is encouraged by the enforced division of the program into sections. Each section can be reached by a go to line (> line) or a call line (> < line) but once a section is called, new sections must also be called (up to 10 deep) since the attempted execution of a go to line causes an immediate return.An unusual feature of CSL is that the user has many opportunities during a simulation to affect the flow of control by entering a numeric label. (These are presented on the terminal as numbered sections, e.g. 111 Aggravating Factors, 112 Alleviation, etc.) The interpreter then resumes execution of the CSL program at the new section exactly as if an internal go to line naming that section had been executed.The interpreter has built in features which provide help for a user who has gotten \"lost\". For instance, whenever the user is prompted for a section number, the user can enter a \"9\" instead, and the terminal will respond with a list of sections which could reasonably be selected.In all, CSL provides 16 basically different operations or line types including provisions for terminal and file I/O, logical branching, and primitive string variables.","PeriodicalId":151957,"journal":{"name":"ACM-SE 14","volume":"2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1976-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Case simulation language: an example of local development of a problem oriented language\",\"authors\":\"Peter J. Robinson\",\"doi\":\"10.1145/503561.503607\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Case Simulation Language or CSL is a programming language which facilitates the production of simulated medical cases for training students at the University of Alabama Medical Center in Birmingham. CSL was developed in two months by one programmer and is executed interpretively by a small program (occupying less than 20,000 bytes) on a Hewlett-Packard 2000 Time Share System. The language features a curious assemblage of old techniques such as fixed fields in each line of source code and numeric labels, juxtaposed to relatively new concepts such as case statements.Modular programming is encouraged by the enforced division of the program into sections. Each section can be reached by a go to line (> line) or a call line (> < line) but once a section is called, new sections must also be called (up to 10 deep) since the attempted execution of a go to line causes an immediate return.An unusual feature of CSL is that the user has many opportunities during a simulation to affect the flow of control by entering a numeric label. (These are presented on the terminal as numbered sections, e.g. 111 Aggravating Factors, 112 Alleviation, etc.) The interpreter then resumes execution of the CSL program at the new section exactly as if an internal go to line naming that section had been executed.The interpreter has built in features which provide help for a user who has gotten \\\"lost\\\". For instance, whenever the user is prompted for a section number, the user can enter a \\\"9\\\" instead, and the terminal will respond with a list of sections which could reasonably be selected.In all, CSL provides 16 basically different operations or line types including provisions for terminal and file I/O, logical branching, and primitive string variables.\",\"PeriodicalId\":151957,\"journal\":{\"name\":\"ACM-SE 14\",\"volume\":\"2 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1976-04-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"ACM-SE 14\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/503561.503607\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 14","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/503561.503607","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

案例模拟语言(Case Simulation Language,简称CSL)是一种编程语言,它有助于为伯明翰阿拉巴马大学医学中心的培训学生制作模拟医疗案例。CSL是由一名程序员用两个月的时间开发出来的,在惠普2000分时系统上由一个小程序(占用不到20,000字节)解释性地执行。该语言的特点是将一些老技术(如每行源代码中的固定字段和数字标签)与case语句等相对较新的概念并列在一起。模块化编程是通过将程序强制划分为几个部分而得到鼓励的。每个节可以通过go to行(> line)或调用行(> < line)到达,但是一旦调用了一个节,还必须调用新的节(最多10个深度),因为尝试执行go to行会导致立即返回。CSL的一个不寻常的特性是,用户在模拟过程中有很多机会通过输入数字标签来影响控制流。(这些在终端上以编号的部分显示,例如111加重因素,112缓解等)然后解释器在新部分恢复CSL程序的执行,就像内部的go到行命名该部分已经执行一样。解释器内置了一些功能,可以为“迷路”的用户提供帮助。例如,每当提示用户输入区段号时,用户可以输入“9”代替,终端将响应一个可以合理选择的区段列表。总之,CSL提供了16种基本不同的操作或行类型,包括终端和文件I/O、逻辑分支和基本字符串变量的规定。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Case simulation language: an example of local development of a problem oriented language
Case Simulation Language or CSL is a programming language which facilitates the production of simulated medical cases for training students at the University of Alabama Medical Center in Birmingham. CSL was developed in two months by one programmer and is executed interpretively by a small program (occupying less than 20,000 bytes) on a Hewlett-Packard 2000 Time Share System. The language features a curious assemblage of old techniques such as fixed fields in each line of source code and numeric labels, juxtaposed to relatively new concepts such as case statements.Modular programming is encouraged by the enforced division of the program into sections. Each section can be reached by a go to line (> line) or a call line (> < line) but once a section is called, new sections must also be called (up to 10 deep) since the attempted execution of a go to line causes an immediate return.An unusual feature of CSL is that the user has many opportunities during a simulation to affect the flow of control by entering a numeric label. (These are presented on the terminal as numbered sections, e.g. 111 Aggravating Factors, 112 Alleviation, etc.) The interpreter then resumes execution of the CSL program at the new section exactly as if an internal go to line naming that section had been executed.The interpreter has built in features which provide help for a user who has gotten "lost". For instance, whenever the user is prompted for a section number, the user can enter a "9" instead, and the terminal will respond with a list of sections which could reasonably be selected.In all, CSL provides 16 basically different operations or line types including provisions for terminal and file I/O, logical branching, and primitive string variables.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信