May 26, 2018

Pattern matching on Math::Symbolic trees

This module is an extension to the MathSymbolic module. A basic familiarity with that module is required.

The MathSymbolicCustomPattern module implements pattern matching routines on MathSymbolic trees. The patterns itself are constructed from MathSymbolic trees with just a few variables which have a special meaning.

The module provides two interfaces. You can use the new and match methods this class provides, or you can use the to_pattern and is_of_form methods on any MathSymbolic tree. Exported by the MathSymbolicCustomPatternExport module. Refer to that module for details on is_of_form.

WWW http//