1 Department of Computer Science, The Technical Faculty of IT and Design, Aalborg University2 Database and Programming Technologies, Department of Computer Science, The Technical Faculty of IT and Design, Aalborg University3 Daisy - Center for Data-intensive Systems, Department of Computer Science, The Technical Faculty of IT and Design, Aalborg University4 The Faculty of Engineering and Science (TECH), Aalborg University5 CISS - Center for Embedded Software Systems, Department of Computer Science, The Technical Faculty of IT and Design, Aalborg University
We describe an experimental object-oriented programming language, ASL2, that supports program development by means of a series of abstraction steps. The language allows immediate object construction, and it is possible to use the constructed objects for concrete problem solving tasks. Classes and class hierarchies can be derived from the objects - via gradual abstraction steps. We introduce two levels of object classification, called weak and strong object classification. Strong object classification relies on conventional classes, whereas weak object classification is looser, and less restrictive. As a central mechanism, weakly classified objects are allowed to borrow methods from each other. ASL2 supports class generalization, as a counterpart to class specialization and inheritance in mainstream object-oriented programming languages. The final abstraction step discussed in this paper is a syntactical abstraction step that derives a source file with a syntactical class form.
A C M / S I G P L a N Notices, 2013, Vol 48, Issue 2, p. 41-51
Abstraction steps; ASL2; Objects before classes; Scheme; Weak and strong classification of objects; weak and strong classification of objects; abstraction steps
Main Research Area:
8th symposium on dynamic languagesDynamic Languages Symposium, 2013