| A type system for functional traversal-based aspects |
| Full text |
Pdf
(405 KB)
|
Source
|
Aspect-oriented software development
archive
Proceedings of the 2009 workshop on Foundations of aspect-oriented languages
table of contents
Charlottesville, Virginia, USA
SESSION: Session 1
table of contents
Pages 1-6
Year of Publication: 2009
ISBN:978-1-60558-452-2
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 3, Downloads (12 Months): 24, Citation Count: 0
|
|
|
ABSTRACT
We present a programming language model of the ideas behind Functional Adaptive Programming (AP-F) and our Java implementation, DemeterF. Computation in AP-F is encapsulated in sets of functions that implement a fold over a data structure with the help of a generic traversal. In this paper we define the syntax, semantics, and typing rules of a simple AP-F model, together with a proof of soundness that guarantees that traversal expressions result in a value of the expected type. Applying a function set to a different structure can then be statically checked to eliminate some runtime tests and sources of program errors.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
G. Bruns, R. Jagadeesan, A. Jeffrey, and J. Riely. mu-abc: A minimal aspect calculus. In Proceedings of the 2004 International Conference on Concurrency Theory, pages 209--224. Springer-Verlag, 2004.
|
| |
2
|
B. Chadwick. DemeterF: The functional adaptive programming library. Website, 2008. http://www.ccs.neu.edu/home/chadwick/demeterf/.
|
| |
3
|
B. Chadwick and K. Lieberherr. Functional Adaptive Programming. Technical Report NU-CCIS-08-75, CCIS/PRL, Northeastern University, Boston, October 2008.
|
 |
4
|
Matthew Flatt , Shriram Krishnamurthi , Matthias Felleisen, Classes and mixins, Proceedings of the 25th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.171-183, January 19-21, 1998, San Diego, California, United States
[doi> 10.1145/268946.268961]
|
 |
5
|
|
| |
6
|
R. Jagadeesan, A. Jeffrey, and J. Riely. A calculus of untyped aspect-oriented programs. In ECOOP, pages 54--73, 2003.
|
| |
7
|
F. Kammüller and M. Voesgen. Towards type safety of aspect-oriented languages. In AOSD 2006, FOAL Workshop, 2009.
|
| |
8
|
|
| |
9
|
H. Masuhara and G. Kiczales. Modeling crosscutting in aspect-oriented mechanisms. In ECOOP, pages 2--28, 2003.
|
| |
10
|
|
 |
11
|
Jens Palsberg , Michael I. Schwartzbach, Object-oriented type inference, Conference proceedings on Object-oriented programming systems, languages, and applications, p.146-161, October 06-11, 1991, Phoenix, Arizona, United States
|
| |
12
|
The Demeter Group. The DemeterJ website. http://www.ccs.neu.edu/research/demeter, 2007.
|
 |
13
|
|
 |
14
|
|
| |
15
|
|
|