- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
精品第3章 东京湾临海部工业地帯におけ 4
* * * * * * * * * * * Jungloids dealt with types only; no semantics. Broadway used library annotations to provide analysis information that is difficult for a compiler to infer, but didn’t use semantic annotations in the same sense as we do. Speckle is an example of a language that tightly integrated specifications with a programming language. * * * PLDI 2006 Troy A. Johnson - Purdue PLDI 2006 * Context-Sensitive Domain-Independent Algorithm Composition and Selection Troy A. Johnson and Rudi Eigenmann Purdue University Troy A. Johnson - Purdue PLDI 2006 * Motivation Increasing programmer productivity Typical language approach: increase abstraction do more with less code reduce development and maintenance costs Domain-specific languages / libraries (DSLs) provide a high level of abstraction e.g., a domain is biology, chemistry, physics But, typically a sequence of library calls is needed Troy A. Johnson - Purdue PLDI 2006 * A Library Designers Problem Consider two useful library procedures A and B reluctant to include a third procedure C that simply calls A and B (i.e., has composite behavior) though convenient, C is redundant including only C prevents reuse of A and B including all three, for all such procedures, greatly increases library size and complexity Library user is expected to compose sequences of “fundamental” calls Troy A. Johnson - Purdue PLDI 2006 * A Library Users Problem Novice users dont know these call sequences procedures documented independently tutorials provide a few example call sequences not an exhaustive list may need adjusted for each calling context User knows what they want to do, but not how to do it. Can the compiler let them specify a goal, and insert an appropriate call sequence? Yes! Troy A. Johnson - Purdue PLDI 2006 * Our Solution Add an “abstract algorithm” (AA) construct to the programming language named and defined (once) by the programmer definition is the programmers goal called like a procedure (any number of times) compil
您可能关注的文档
- 第8章 恋爱沟通人际沟通与交流ppt 课件.pptx
- 第4专题江南的冬景ppt课件1 苏教版 语文必修一.pptx
- 第一节 世界的人口ppt课件ppt.pptx
- 第七版急诊学PPT课件第八章 创伤急救.pptx
- 第一节晶体的常识课件ppt.pptx
- 第三册课件Unit 6 The Human Touch 浙江万里学院大学英语精品课程.pptx
- 第一部分颅脑疾病的CT和MRI诊断.pptx
- 第七课 感受法律的尊严12新人教版七年级政 治下册ppt课件.pptx
- 第七章 新生儿与新生儿疾病第九~十一节新生儿黄疸新生儿溶血病新生儿感染性肺炎新生儿败血症课件.pptx
- 第七章大学生的性心理和性健康教育课件PPT演示图文ppt.pptx
原创力文档


文档评论(0)