Please use this identifier to cite or link to this item: https://scholarbank.nus.edu.sg/handle/10635/40671
Title: A compilation model for aspect-oriented polymorphically typed functional languages
Authors: Chen, K.
Weng, S.-C.
Wang, M.
Khoo, S.-C. 
Chen, C.-H.
Issue Date: 2007
Citation: Chen, K.,Weng, S.-C.,Wang, M.,Khoo, S.-C.,Chen, C.-H. (2007). A compilation model for aspect-oriented polymorphically typed functional languages. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) 4634 LNCS : 34-51. ScholarBank@NUS Repository.
Abstract: Introducing aspect orientation to a polymorphically typed functional language strengthens the importance of type-scoped advices; i.e., advices with their effects harnessed by type constraints. As types are typically treated as compile time entities, it is highly desirable to be able to perform static weaving to determine at compile time the chaining of type-scoped advices to their associated join points. In this paper, we describe a compilation model, as well as its implementation, that supports static type inference and static weaving of programs in an aspect-oriented polymorphically typed lazy functional language, AspectFun. We present a type-directed weaving scheme that coherently weaves type-scoped advices into the base program at compile time. We state the correctness of the static weaving with respect to the operational semantics of AspectFun. We also demonstrate how control-flow based pointcuts (such as cflowbelow) are compiled away, and highlight several type-directed optimization strategies that can improve the efficiency of woven code. © Springer-Verlag Berlin Heidelberg 2007.
Source Title: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
URI: http://scholarbank.nus.edu.sg/handle/10635/40671
ISBN: 9783540740605
ISSN: 03029743
Appears in Collections:Staff Publications

Show full item record
Files in This Item:
There are no files associated with this item.

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.