Abstract
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.
Original language | English |
---|---|
Title of host publication | Proceedings of the 8th symposium on Dynamic languages |
Editors | Alessandro Warth |
Number of pages | 11 |
Publisher | Association for Computing Machinery |
Publication date | 22 Oct 2012 |
Pages | 41 - 52 |
ISBN (Print) | 978-1-4503-1564-7 |
DOIs | |
Publication status | Published - 22 Oct 2012 |
Event | 8th symposium on dynamic languages - Loews Ventana Canyon, Tucson, AZ, United States Duration: 22 Oct 2012 → 22 Oct 2012 Conference number: 8 |
Conference
Conference | 8th symposium on dynamic languages |
---|---|
Number | 8 |
Location | Loews Ventana Canyon |
Country/Territory | United States |
City | Tucson, AZ |
Period | 22/10/2012 → 22/10/2012 |