Pattern Matching for an object-oriented and dynamically typed programming language
- Pattern matching is a well-established concept in the functional programming community. It provides the means for concisely identifying and destructuring values of interest. This enables a clean separation of data structures and respective functionality, as well as dispatching functionality based on more than a single value. Unfortunately, expressive pattern matching facilities are seldomly incorporated in present object-oriented programming languages. We present a seamless integration of pattern matching facilities in an object-oriented and dynamically typed programming language: Newspeak. We describe language extensions to improve the practicability and integrate our additions with the existing programming environment for Newspeak. This report is based on the first author’s master’s thesis.
Author details: | Felix Geller, Robert HirschfeldORCiDGND, Gilad Bracha |
---|---|
URN: | urn:nbn:de:kobv:517-opus-43035 |
ISBN: | 978-3-86956-065-6 |
Publication series (Volume number): | Technische Berichte des Hasso-Plattner-Instituts für Digital Engineering an der Universität Potsdam (36) |
Publisher: | Universitätsverlag Potsdam |
Place of publishing: | Potsdam |
Publication type: | Monograph/Edited Volume |
Language: | English |
Publication year: | 2010 |
Publishing institution: | Universität Potsdam |
Release date: | 2010/07/07 |
Tag: | Dynamische Typ Systeme; Muster; Musterabgleich; Objekt-Orientiertes Programmieren; Pattern Matching Dynamic Type System; Object-Oriented Programming; Pattern Matching; Patterns |
Number of pages: | 81 |
RVK - Regensburg classification: | ST 230 |
Organizational units: | An-Institute / Hasso-Plattner-Institut für Digital Engineering gGmbH |
DDC classification: | 0 Informatik, Informationswissenschaft, allgemeine Werke / 00 Informatik, Wissen, Systeme / 004 Datenverarbeitung; Informatik |
Publishing method: | Universitätsverlag Potsdam |
License (German): | Keine öffentliche Lizenz: Unter Urheberrechtsschutz |