Paisley: A pattern matching library for arbitrary object models
Zusammenfassung
Professional development of software dealing with structured models requires more systematic approach and semantic foundation than standard practice in general-purpose programming languages affords. One remedy is to integrate techniques from other programming paradigms, as seamless as possible and without forcing programmers to leave their comfort zone. Here we present a tool for the implementation of pattern matching as fundamental means of automated data extraction from models of arbitrary shape and complexity 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 algebra (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, 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.
- Vollständige Referenz
- BibTeX
Trancón y Widemann, B. & Lepper, M.,
(2013).
Paisley: A pattern matching library for arbitrary object models.
In:
Wagner, S. & Lichter, H.
(Hrsg.),
Software Engineering 2013 - Workshopband.
Bonn:
Gesellschaft für Informatik e.V..
(S. 171-186).
@inproceedings{mci/Trancón y Widemann2013,
author = {Trancón y Widemann, Baltasar AND Lepper, Markus},
title = {Paisley: A pattern matching library for arbitrary object models},
booktitle = {Software Engineering 2013 - Workshopband},
year = {2013},
editor = {Wagner, Stefan AND Lichter, Horst} ,
pages = { 171-186 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
author = {Trancón y Widemann, Baltasar AND Lepper, Markus},
title = {Paisley: A pattern matching library for arbitrary object models},
booktitle = {Software Engineering 2013 - Workshopband},
year = {2013},
editor = {Wagner, Stefan AND Lichter, Horst} ,
pages = { 171-186 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
ISBN: 978-3-88579-609-1
ISSN: 1617-5468
Datum: 2013
Sprache:
(en)
(en)
Typ: Text/Conference Paper

