MatchPy: A Pattern Matching Library

10/16/2017
by   Manuel Krebber, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/29/2017

Efficient Pattern Matching in Python

Pattern matching is a powerful tool for symbolic computations. Applicati...
research
02/15/2021

Metatheory.jl: Fast and Elegant Algebraic Computation in Julia with Extensible Equality Saturation

We introduce Metatheory.jl: a lightweight and performant general purpose...
research
12/19/2020

SymFields: An Open Source Symbolic Fields Analysis Tool for General Curvilinear Coordinates in Python

An open source symbolic tool for vector fields analysis 'SymFields' is d...
research
05/02/2017

Non-linear Associative-Commutative Many-to-One Pattern Matching with Sequence Variables

Pattern matching is a powerful tool which is part of many functional pro...
research
02/17/2022

Term Rewriting Based On Set Automaton Matching

In previous work we have proposed an efficient pattern matching algorith...
research
08/30/2021

Embedded Pattern Matching

Haskell is a popular choice for hosting deeply embedded languages. A rec...
research
09/02/2020

A Study of Opacity Ranges for Transparent Overlays in 3D Landscapes

When visualizing data in a realistically rendered 3D virtual environment...

Please sign up or login with your details

Forgot password? Click here to reset