计算之智与哲学之慧分享 http://blog.sciencenet.cn/u/huangfuqiang

博文

AspectML面向方面的函数编程语言研究

已有 3610 次阅读 2010-6-7 10:35 |个人分类:计算机软件理论与工程|系统分类:海外观察

AspectML - Aspect-oriented Functional Programming Language Research

Princeton University

University of Pennsylvania

Objectives

Our research is to extend functional programming languages with aspect-oriented features. It currently consists of three projects, the original theory of aspects, research on harmless advice, and research on polymorphic advice.

The original research on the theory of aspects defined the semantics of MinAML, an idealized aspect-oriented programming language, by giving a type-directed translation from a user-friendly external language to a compact, well-defined core language. The core language extends the simply-typed lambda calculus with two central new abstractions: explicitly labeled program points and first-class advice. The labels serve both to trigger advice and to mark continuations that the advice may return to.

The harmless advice project defines an object-oriented language with harmless aspect-oriented advice. A piece of harmless advice is a computation that, like ordinary aspect-oriented advice, executes when control reaches a designated control-flow point. However, unlike ordinary advice, harmless advice is designed to obey a weak non-interference property. Harmless advice may change the termination behavior of computations and use I/O, but it does not otherwise influence the final result of the mainline code. The benefit of harmless advice is that it facilitates local reasoning about program behavior. In addition, programmers may add new pieces of harmless advice to pre-existing programs in typical ``after-the-fact'' aspect-oriented style without fear they will break important data invariants used by the mainline code.

The polymorphic advice project defines PolyAML, a typed functional, aspect-oriented programming language. The main contribution of PolyAML is the seamless integration of polymorphism, run-time type analysis and aspect-oriented programming language features. In particular, PolyAML allows programmers to define type-safe polymorphic advice using pointcuts constructed from a collection of polymorphic join points. PolyAML also comes equipped with a type inference algorithm that conservatively extends Hindley-Milner type inference.


Publications

Daniel S. Dantas.
Ph.D Thesis. Princeton University: Computer Science. August 2007.
Ph.D '07: Thesis Proposal / Thesis Defense

Daniel S. Dantas, David Walker, Geoffrey Washburn, and Stephanie Weirich.
ACM Transactions on Programming Languages and Systems. June 2008.
TOPLAS '08: Interpreter Implementation / Security Case Study

Geoffrey Washburn and Stephanie Weirich.
Workshop on Generic Programming (WGP '06). September 2006.
WGP '06: Workshop Presentation

Daniel S Dantas and David Walker.
ACM SIGPLAN - SIGACT Symposium on Principles of Programming Languages. January 2006.
POPL '06: Conference Presentation / Interpreter Implementation / Security Case Study

Jay Ligatti, David Walker, and Steve Zdancewic.
In Pascal Fradet and Ralf Lämmel, editors, Science of Computer Programming, special issue on Foundations of Aspect-Oriented Programming. Elsevier, Winter 2005/2006. To appear.

Daniel S. Dantas, David Walker, Geoffrey Washburn and Stephanie Weirich.
ACM International Conference on Functional Programming. September 2005.
ICFP '05: Conference Presentation / Interpreter Implementation

Daniel S. Dantas and David Walker.
ACM SIGPLAN International Workshop on Foundations of Object-Oriented Languages. January 2005.
FOOL '05: Workshop Presentation

David Walker, Steve Zdancewic, and Jay Ligatti.
8th ACM SIGPLAN International Conference on Functional Programming, August 2003.
ICFP '03: Conference Presentation


Members

Princeton University

Daniel S Dantas
David Walker

University of Pennsylvania

Geoff Washburn
Stephanie Weirich
Steve Zdancewic

University of South Florida

Jay Ligatti
来源:http://www.cs.princeton.edu/sip/projects/aspectml/



https://blog.sciencenet.cn/blog-89075-332998.html

上一篇:参加哈工大校庆活动有感
下一篇:信息网络科学技术[院士大会]
收藏 IP: .*| 热度|

0

该博文允许实名用户评论 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-22 06:56

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部