Phorms: Pattern Combinator Library for Pharo

Markiyan Rizun 1 Gustavo Santos 1 Stéphane Ducasse 1, * Camille Teruel 1
* Auteur correspondant
1 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille (CRIStAL) - UMR 9189
Abstract : Pattern matching is a common mechanism to provide analysis and transformation of data structures. Such an approach basically checks whether the containing elements of a data structure are constituents of a pattern, described by the developer. This paper is a step towards having seamless object-oriented pattern matching, which would be applicable to any object in Pharo. We present a pattern matching library, called Phorms, which enables users to compose patterns using the syntax of the Pharo programming language. In this library, patterns are objects and therefore can be inspected and de-bugged using existing Pharo tools. Our solution is extensible unlike The Rewrite Engine – Pharo's current pattern matching facilities. Moreover, by treating patterns as first class objects, our library provides more flexibility in the pattern matching process.
Type de document :
Communication dans un congrès
International Workshop on Smalltalk Technologies, Aug 2016, Prague, Czech Republic. Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies. 〈10.1145/2991041.2991057〉
Liste complète des métadonnées

Littérature citée [10 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01353883
Contributeur : Lse Lse <>
Soumis le : lundi 15 août 2016 - 22:23:36
Dernière modification le : mardi 3 juillet 2018 - 11:43:30
Document(s) archivé(s) le : mercredi 16 novembre 2016 - 10:19:51

Fichier

Rizu16a-IWST16-Matcher.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Markiyan Rizun, Gustavo Santos, Stéphane Ducasse, Camille Teruel. Phorms: Pattern Combinator Library for Pharo. International Workshop on Smalltalk Technologies, Aug 2016, Prague, Czech Republic. Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies. 〈10.1145/2991041.2991057〉. 〈hal-01353883〉

Partager

Métriques

Consultations de la notice

333

Téléchargements de fichiers

64