pith. sign in

arxiv: 1710.06915 · v1 · pith:R3WOO4CUnew · submitted 2017-10-16 · 💻 cs.PL · cs.SC

MatchPy: A Pattern Matching Library

classification 💻 cs.PL cs.SC
keywords patternmatchingmatchpypatternspythonabstractalgebraicalgorithm
0
0 comments X
read the original abstract

Pattern matching is a powerful tool for symbolic computations, based on the well-defined theory of term rewriting systems. Application domains include algebraic expressions, abstract syntax trees, and XML and JSON data. Unfortunately, no lightweight implementation of pattern matching as general and flexible as Mathematica exists for Python Mathics,MacroPy,patterns,PyPatt. Therefore, we created the open source module MatchPy which offers similar pattern matching functionality in Python using a novel algorithm which finds matches for large pattern sets more efficiently by exploiting similarities between patterns.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.