Matchete: Paths through the Pattern Matching Jungle
Abstract
Pattern matching is a programming language feature for selecting a handler based on the structure of data while binding names to sub-structures. By combining selection and binding, pattern matching facilitates many common tasks such as date normalization, red-black tree manipulation, conversion of XML documents, or decoding TCP/IP packets. Matchete is a language extension to Java that unifies different approaches to pattern matching: regular expressions, structured term patterns, XPath, and bit-level patterns. Matchete naturally allows nesting of these different patterns to form composite patterns. We present the Matchete syntax and describe a prototype implementation.
BibTeX
@inproceedings{hirzel2008matchete,
author = {Martin Hirzel and Nathaniel Nystrom and Bard Bloom and Jan Vitek},
title = {{Matchete: Paths through the Pattern Matching Jungle}},
booktitle = {PADL},
year = {2008},
doi = {10.1007/978-3-540-77442-6\_11},
}Ask Althea to put this paper to the test.
Loading related content...