Trancón y Widemann, B; Lepper, M: Paisley: Pattern Matching à la Carte, Lecture Notes in Computer Science, 7307, 240-247 (2012), doi:10.1007/978-3-642-30476-7_16
Abstract:
Professional development of software dealing with structured models requires more systematic approach and semantic foundations than standard practice in general-purpose programming languages affords. One remedy is to move to domain-specific environments. Here, instead, we present a tool for the implementation of pattern matching as fundamental means of automated data extraction from complex models in a general-purpose programming language. The interface is simple but, thanks to elaborate and rigorous design, is also light-weight, portable, non-invasive, type-safe, modular and extensible. It is compatible with object-oriented data abstraction and has full support for nondeterminism by backtracking. The tool comes as a library consisting of two levels: elementary pattern constructs (generic, highly reusable) and pattern bindings for particular data models (specific, fairly reusable, user-definable). Applications use the library code in a small number of idiomatic ways, making pattern-matching code declarative in style (yet retaining richer host-language semantics), easily writable, readable and maintainable. Library and idiom together form a tightly embedded domain-specific language; no extension of the host language is required. The current implementation is in Java, but assumes only standard object-oriented features, and can hence be ported to other mainstream languages.
Upcoming ...


BayCEER Colloquium:
Th. 2024-04-18
The Canvas of Change: Creative Marketing for Behaviour Change, Sustainability and Social Good
Th. 2024-04-18
Survival, 'dormancy', and resuscitation of microorganisms in water-limited environments: insights from coastal salt flats and desert soil crusts
BayCEER Short Courses:
Tu. 2024-04-16
Geographical information system and R environment for conservation biology
Ecological-Botanical Garden:
Su. 2024-04-07
Führung | Talking Tree: Was Bäume über´s Klima erzählen
Fr. 2024-04-19
Führung | Gesteine im Ökologisch-Botanischen Garten
Weather research site
Luftdruck (356m): 946.3 hPa
Lufttemperatur: 8.2 °C
Niederschlag: 4.7 mm/24h
Sonnenschein: 2 h/d

...more
Globalstrahlung: 527 W/m²
Lufttemperatur: 6.5 °C
Niederschlag: 2.6 mm/24h
Wind (Höhe 32m): 10.2 km/h

...more
This site makes use of cookies More information